OK, I think there's a bug with certain data-types and the translation tool. The translation tool assumes that the data-type stores it's data (in the database) as the XML format, but that's not always the case - as it is for Multiple Textstring.
I don't think there is a workaround solution for this at the moment, it is up to the data-type developer to implement a patch for this.
Which version of Umbraco and uComponents are you using?
as i say, not entirely sure that this is down to Translation workflow as there are many more nodes affected than have been exported/imported through the translation workflow, but i will keep and eye out and let you know if it happens again.
Multiple Textstring DataType Problem
Hi
I have a site using the Multiple Textstring datatype.
for some reson, the values are suddenly showing as xml, the entries in the database now showing as:
<values><value>this is the value</value><value>this is the value</value></values>
... this wasn't the case before, and the display is now all wrong in the back-end property - displays a single text box with all the xml
any ideas?
Hi Fergus,
Do you have any custom code that may be setting the value for the Multiple Textstring programatically?
In the database, the values are delimited by a new-line.
Thanks, Lee.
no - is it possible an update / republish caused this?
Are you using the translations tool that comes with Umbraco?
yes, i have done - is this the problem?
further to my previous response, i am sure that there are more nodes affected than i have actually translated.
not sure what the problem is.
I have run a quick SQL replace to correct the affected nodes, will monitor and update if it happens again
OK, I think there's a bug with certain data-types and the translation tool. The translation tool assumes that the data-type stores it's data (in the database) as the XML format, but that's not always the case - as it is for Multiple Textstring.
I don't think there is a workaround solution for this at the moment, it is up to the data-type developer to implement a patch for this.
Which version of Umbraco and uComponents are you using?
Thanks, Lee.
ok, thanks lee
Hi Lee
this is still happenning at regular intervals in the site. it is not a translation issue as we are currently not translating anything.
all of the nodes using the multiple textstring are changing to:
<values><value>xxx</value><value>yyy</value><value>zzz</value></values>
any ideas what might be causing this?
umbraco 7.11.5 [upgraded recently through releases from 4.7.2]
uComponents 5.4.1 [upgraded from earlier version 3?]
hope you can help
Hi Fergus,
I still do think that the value for the data-type is being set programmatically (somewhere?!)
Do you have any custom code that is updating the content?
Cheers, Lee.
there is nothing that i have written here, no.
the only thing i can think of is that it could be related to the 'right-click and publish-all'
that is the only thing we or the client may have been using that would affect so many nodes at any one time.
fergus
is working on a reply...