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

Node-less I18NAuthoringSupport API modifications not compatible with MultiSite case

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD