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

All authors share the same authoring locale

XMLWordPrintable

      When opening the page-editor, the authorLocale is set on the I18NAuthoringSupport, so that form dialogs open directly in the same locale.

      However, the I18NAuthoringSupport is a singleton (per-instance) configured component, which means concurrent authors may override the authorLocale from one another, e.g.:

      • superuser edits /demo-project in English.
      • eric edits /demo-project/about and switches to German.
      • superuser opens a dialog; she gets it in German instead of English.

      This was introduced in 5.2.3 with MGNLUI-2696.

      Couple options:

      • Either I18NAuthoringSupport should remain stateless and such synchronization of locale between editor and dialog should be performed differently (privileged option).
      • Either I18NAuthoringSupport should be a session or even sub-app singleton.

        Acceptance criteria

              mgeljic Mikaël Geljić
              mgeljic Mikaël Geljić
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - 7h Original Estimate - 7h
                    7h
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3d 3.5h
                    3d 3.5h