[MGNLUI-6579] Cannot store form values using listSelectField Created: 22/Feb/21  Updated: 16/Dec/21  Resolved: 09/Dec/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.6
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Quach Hao Thien
Resolution: Won't Fix Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: 7.5h
Original Estimate: Not Specified

Attachments: Text File error.log    
Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: UI Maintenance 3
Story Points: 2

 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


 Comments   
Comment by Roman Kovařík [ 03/Dec/21 ]

Estimated: quick investtigation

Generated at Mon Feb 12 09:37:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.