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

Cannot store form values using listSelectField

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • 6.2.6
    • None

    Description

      Steps to reproduce

      1. Configure a simple form using listSelectField like below:
        form:
          properties:
            linkSrc:
              $type: switchableField
              label: Link source
              field:
                $type: listSelectField
                label: level
                datasource:
                  $type: optionListDatasource
                  options:
                    - name: level1
                      value: 1
                      label: H1
                    - name: level2
                      value: 2
                      label: H2
                    - name: level3
                      value: 3
                      label: H3
              itemProvider:
                $type: jcrChildNodeProvider
        
      1. Use it in a page dialog, open the dialog, select a field such as H2 and press save

      .. Logs, screenshots, gifs...

      Expected results

      • Values saved to JCR

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      • Exception throws

      Workaround

      • Use comboBoxField instead of listSelectField

      Development notes

      • Error log attached

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              thien.quach Quach Hao Thien
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 7.5h
                    7.5h