Copied to clipboard

Flag this post as spam?

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


  • Dimitris Chrysomallis 23 posts 137 karma points
    Nov 30, 2017 @ 14:07
    Dimitris Chrysomallis
    0

    Repeatable Textstrings are being merged into one string on import

    As stated in the title Repeatable Textstrings are being merged into one string on import. Steps to reproduce:

    1. Enter > 1 values using the Repeatable textstrings editor
    2. Export data
    3. Import data
  • Kevin Jump 1444 posts 9344 karma points MVP 3x c-trib
    Nov 30, 2017 @ 14:32
    Kevin Jump
    1

    Hi

    what version of Umbraco are you using at the moment ?

    I know there was an issue with Repeatable Textstrings and new line values (as outlined by lee in this Nested Content issue

    the Issue tracker appears to be off at the moment, so i don't know the exact status of the issue:

    http://issues.umbraco.org/issue/U4-8712

    but i think it's only a recently fixed thing, so it might be something to check (when it's back up)

  • Dimitris Chrysomallis 23 posts 137 karma points
    Dec 01, 2017 @ 15:42
    Dimitris Chrysomallis
    100

    Hi, Umbraco version 7.7.3, (uSync.BackOffice 4.0.0.760) (uSync.Core 6.0.0.760) [uSync.Content: 4.0.0.760]

    I've read the issue you mention, but progress seems to be stale. I would like to help resolve this, but I really have no time at all.

    The upside is that I ended up just changing the data type to Textarea and all data where automatically converted and newlines recognized. In the template, I only had to split the output string to an array.

    Also, compared to Repeatable strings, Textarea seems like a simpler interface for multine strings.

    Thanks

  • Anthony 19 posts 135 karma points
    May 21, 2018 @ 12:21
    Anthony
    0

    Seeing this too with with Repeatable Text Strings \ MultipleTextString property types:

    Umbraco 7.10.4 USync 4.0.5 USync Core 6.05 USync ContentMappers 4.1.2 ContentEdition 4.1.2

    So the Umbraco bug fix referenced doesn't seem to work in this instance.

    Tried exporting the Content as a package and reimporting, as I think uSync uses document types below the hood, but the reimport failed - this seems to be a surprisingly tricky thing to do without getting database conflicts.

    Anyway, it exports with the CRLF in there:

     <jagclist><![CDATA[one
    two
    three]]></jagclist>
    

    The output from uSync does too:

    But the re-imports using uSync merges the line in to onetwothree.

    As hinted at above I'm not having a good time testing this with packages so may come back to that later.

Please Sign in or register to post replies

Write your reply to:

Draft