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

Revise the field validation when switching languages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Selected
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: 5.7.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      MGNLUI-3491 fixed an issue with validation being skipped for non-active locales in dialogs by forcing an user to meet all the requirement before switching the locale of the dialog.

      However that brings a new set of issues since inability to use the locale switcher is limiting for editors. Two use-cases:

      • even though there's always a fallback locale it doesn't have to be filled for a particular node, in that case it's impossible to fill other locales if there are required fields in place.
      • if editor writes a content in the fallback locale and switches to other locale, it's impossible to go back and/or save the content if there are any required fields.

      This can of course be avoided by dividing the content into multiple trees but not every time is this solution possible.

      Ideally the validation should be performed for all locales during the save dialog step.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                ochytil Ondrej Chytil
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Date of First Response:

                    Checklists

                    DoD