Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10098

Inconsistent handling of separators in List properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 7.0-milestone-2
    • Component/s: None
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      To reproduce:

      • Create a document D as a class
      • Add a DBList property P with the following configuration
        • Display Type == INPUT
        • Multiple suggest
        • No relational storage
        • Multiselect separators (for editing) == ,
        • Join separator (for display) == ,
      • Save it
      • Create a page X with a object of type D
        • Edit P property and put a comma-separated list (for example "abc,def")
      • Save the page X
      • Reopen X in object mode and display the property P, it has been saved as "abc|def" (with a pipe instead of the comma)

      Is | is hardcoded somewhere? Because it's a needed information in https://github.com/xwiki/xwiki-platform/pull/262/files#diff-c25f8254a5a3e4725650254773fb0e44R103

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enygma Eduard Moraru
                Reporter:
                jsimard Jean SIMARD
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: