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

LinkField ignores configured validators

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.2.7, 5.3.2
    • Fix Version/s: 5.2.9, 5.3.3
    • Component/s: framework
    • Labels:

      Description

      info.magnolia.ui.form.field.LinkField#isValid ignores field validators.
      As the LinkField class overrides com.vaadin.ui.AbstractField#isValid without a super-method invocation, the method com.vaadin.ui.AbstractField#validate is never called.

      One use case could be to validate that the link provided can be reached.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ehechinger Eric Hechinger
                Reporter:
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD