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

AbstractCustomMultifield breaks the recursive locale resolution of Vaadin components

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: forms
    • Labels:
    • Magnolia Release:
      5.4

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: