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

Boolean text field in new framework does not persist value "false"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Workaround exists
    • Minor
    • None
    • 6.2
    • None
    • None

    Description

      Steps to reproduce

      1. Add this field to some dialog definition (e.g. rename action dialog of contacts app)
      bool:
       label: boolean text field
       $type: textField
       type: java.lang.Boolean
       converterClass: com.vaadin.data.converter.StringToBooleanConverter

      2. Open up the dialog in new framework app (e.g. contacts-v8, you may need to unhide the app [search for hiddenApps in findbar])

      3. You will probably see value "false" there already. Persist true

      4. Observe in JCR that the property is created with value true.

      5. repeat but persist false

      Expected results

      Property persisted with false value

      Actual results

      Property removed

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 0d
                    0d
                    Logged:
                    Time Spent - 0.5h
                    0.5h