Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fergus Davidson 309 posts 588 karma points
    Apr 02, 2013 @ 15:16
    Fergus Davidson
    0

    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?

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 02, 2013 @ 15:18
    Lee Kelleher
    0

    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.

  • Fergus Davidson 309 posts 588 karma points
    Apr 02, 2013 @ 15:31
    Fergus Davidson
    0

    no - is it possible an update / republish caused this?

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 02, 2013 @ 15:37
    Lee Kelleher
    0

    Are you using the translations tool that comes with Umbraco?

  • Fergus Davidson 309 posts 588 karma points
    Apr 02, 2013 @ 15:38
    Fergus Davidson
    0

    yes, i have done - is this the problem?

     

  • Fergus Davidson 309 posts 588 karma points
    Apr 02, 2013 @ 15:41
    Fergus Davidson
    0

    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

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 02, 2013 @ 16:22
    Lee Kelleher
    1

    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.

  • Fergus Davidson 309 posts 588 karma points
    Apr 02, 2013 @ 16:28
    Fergus Davidson
    0

    ok, thanks lee

    • umbraco 7.11.5
    • ucomponents 5.4.1
    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.
    thanks for your help
  • Fergus Davidson 309 posts 588 karma points
    Apr 10, 2013 @ 12:46
    Fergus Davidson
    0

    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

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 10, 2013 @ 12:50
    Lee Kelleher
    0

    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.

  • Fergus Davidson 309 posts 588 karma points
    Apr 10, 2013 @ 14:23
    Fergus Davidson
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft