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

Node-less I18NAuthoringSupport API modifications not compatible with MultiSite case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.0
    • None
    • None
    • None

      Multisite impl of I18NAuthoringSupport unconditionally requires some node to be passed as a reference to determine the related website node, so that locales relevant to it are resolved.

      However, in case of Vaadin 8 based UI framework modifications, components are a) JCR-agnostic and b) data binding is separated from UI, so it is hard to get an instance of a Node that e.g. a form operates on. For that purpose we introduced API version which take no arguments. For default case it works okay - there's only one website and everything is resolved fine. In multisite case, however, it breaks miserably with NPE''s.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD