Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7130

local wrongly determined in multi site after update to 5.5.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.5.6
    • None
    • None

    Description

      We used to have on corporate website this configuration for multisite:

      en
          i18n
              locales
                    - en
                    - de
              - defaultLocal: en
              - fallbackLocal: en
      de
          i18n
              locales
                    - en
                    - de
              - defaultLocal: de
              - fallbackLocal: en
      

      when site module match correctly with 'de' site, local is still determined wrong as a 'en' (it use fallbackLocal). So all links in '/de' site has '/en' prefixes - cross site links.

      Issues seems to be in:
      /main/magnolia-core/src/main/java/info/magnolia/cms/i18n/AbstractI18nContentSupport.java
      on line 145 (this should return null in our case, but doesn't).

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              tgregovsky Tomáš Gregovský
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD