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

nodeNameValidator not reading errorMessage property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1.  Add a name field whose validator is nodeNameValidator and set errorMessage property
      2.  Create two nodes with different names
      3. Rename one of them so names are equal

      Expected results

      Validation error is shown with the message from the definition property errorMessage

      Actual results

      Message shown is from property ui-framework-jcr.validator.name.unique of messageBundle

      Development notes

      The error message is not considering the value of the definition property errorMessage

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jayala Jonathan Ayala
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD