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

AbstractCustomMultifield breaks the recursive locale resolution of Vaadin components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.4
    • 5.4
    • forms

    Description

      Vaadin Component#getLocale() method implementation works be the following principal:

      • Recursively go up the component tree and pick the first non-null locale encountered
      • If the top of the hierarchy is reached (UI component is the last) - grab the locale from VaadinSession ~ HttpSession

      AbstractCustomMultiField breaks the recursion because it overrides both setters and getters and maintains a local field for locale, never calling a super-method => session-fallback is never used.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD