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

multiselect separators are not defined for all list property types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 RC2
    • Fix Version/s: 1.2 M1
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      Separators (the "separators" meta property) have two roles:

      • one is to separate multiple values when storing a multipleSelect property in one field (multipleSelect = true, relationalStorage = false), either in the database or in a xml export
      • and the other one is to separate values in a form field when the display type is plain input

      For some reason, this property is only defined for StaticList properties, but it is used for all list properties. This causes XWIKI-1722, for example, and causes most list properties not to work as expected when using multipleSelect = true and displayType = input.

      The fix would be to define separators in all ListProperties (just in the parent ListMetaClass and ListClass will suffice).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: