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

Magnolia Validators Do Not Work If Configured Through JCR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • 6.1.3, 6.1.4
    • None

      info.magnolia.ui.form.validator.definition.EmailValidatorDefinition
      and
      info.magnolia.ui.form.validator.definition.RegexpValidatorDefinition do not validate correctly when configured through the JCR.

      Both validators work fine on 6.1.2. The issue shows up with 6.1.3. and 6.1.4 (including the demo).

      A workaround for this is to use decorations.

      As an example you can test the attached validator. Create a new user with some password. Then log in to this user, try changing the password to comply with the validator and you will see that the error validation will appear incorrectly.
      You can use test password: Notatest123!
      Extra note: I’ve tested the regex and it is fine.

        Acceptance criteria

              Unassigned Unassigned
              jnodarse Julian Nodarse
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD