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

Composite field validators ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 5.1.1
    • app framework
    • None

    Description

      Every field can have a validator, so I expect that composite field can have too.

      In an editor subapp, composite field validators are created, but isValid is never called, even on save (commit).

      Field configuration:

      + someCompositeField
      + + fields
      + + + dateFrom
      + + + + (...)
      + + + dateTo
      + + + + (...)
      + + validators
      + + + startBeforeEndValidator
      + + + + (...)
      + + class info.magnolia.ui.form.field.definition.CompositeFieldDefinition

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                jumper Marek Swiecznik
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD