Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-28

Form Validation - for "Text field group" fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.3
    • 1.0.1
    • None
    • None

    Description

      "Text field group"-elements are not being validated. If there are e.g. 2 text-fields in one group - the validation fails.

      Problem: There is a search for nodeData called "controlName". And because "Text field group"-elements are being stored in a ContentNodeCollection named "edits" only the subnodes have the nodeData "controlName".

      Solution: If nodeData doesn't exist iterate over possible subNodes. (info.magnolia.module.form.paragraphs.models.FormModel)

      Please have a look at the attached Screenshot and Patch.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              tmiyar Teresa Miyar
              rainer Rainer Blumenthal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD