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

Details

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

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD