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

Prevent two-time validation at dialogs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: dialogs
    • Labels:
      None

      Description

      At the moment we execute a validator twice, the second validation is being done by info.magnolia.ui.dialog.actionarea.renderer.DefaultEditorActionRenderer that checks the validity for the sake of re-enabling commit/save button in order to prevent multiple savings.

      Also the validation is being done for each language.

      All this can be quite an expensive operation, especially if you have a validator doing remote calls.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            zdenekskodik Zdenek Skodik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: