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

AbstractCustomMultifield breaks the recursive locale resolution of Vaadin components

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD