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

The locale get from uiContext is always null at the first time when opening form

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Neutral Neutral
    • None
    • 5.4.2
    • forms
    • Yes

      At the first time when form presenter is called. The locale get from uiContext is always null.

      1. Observed result: localeToFormSections map stores null locale
      2. Expected result: localeToFormSections map should store correct locale instead of keeping null variable
      3. Additional info:
        The part need to improve maybe here:
        this.activeLocale = ((SubAppContext)uiContext).getAuthoringLocale();
        

        See attached patch for fixing suggestion

        Acceptance criteria

              Unassigned Unassigned
              oanh.thai Oanh Thai Hoang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD