Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6652

Non-string field in jcrMultiValueField causes ValueFormatException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.7
    • None
    • None

    Description

      Steps to reproduce

      Use one of these field definitions and try to add more than one value in the multi field and save:

          longs:
            $type: jcrMultiValueField
            field:
              $type: textField
              type: java.lang.Long
              converterClass: com.vaadin.data.converter.StringToLongConverter
          bools:
            $type: jcrMultiValueField
            field:
              $type: checkBoxField

      Expected results

      all values are saved properly

      Actual results

      ValueFormatException with "inhomogeneous type of values" info is thrown.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              asiska Adam Siska
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD