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

RichTextField and CodeField ignore required flag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.3
    • Component/s: dialogs
    • Labels:

      Description

      When configured with "required: true", a rich text field ignores the flag and can be saved when empty.
      The required property and its value are visible in the Definitions app and the JCR shows no value is saved.

      Dev notes:
      code field has very similar symptoms

      Steps to reproduce:
      1) use both codeField and richTextField  in detail/dialog
      2) open detail/dialog
      3) commit/save without any touch
      4) add/remove some chars in code field (leave it blank)
      4) commit/save

      Expected:
      both field should have validation error in step 3 and 5.

      Actual:
      only code field has validation error in step 3, no field has validation error in step 5

       

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                asiska Adam Siska
                Reporter:
                chris.jennings Chris Jennings
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD