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

Form validation on field "name" is not working properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None

      If I add validation on field "name" of the asset detail form is not working as expected. Validation is always executed on old value of the field (when creating value is null, when editing value is previous version).

      Problem is in info.magnolia.ui.form.action.SaveFormAction in execute(), because setNodeName is after validator.isValid().

      When using same validator in dialogs it's working as expected.

        Acceptance criteria

              Unassigned Unassigned
              kobo Boštjan Kolar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD