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

AbstractI18nContentSupport.getProperty not returning right default value based on default locale

XMLWordPrintable

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

      Considering a setup where default and fallback locale are configured differently (e.g. default (unsuffixed) locale is German, fallback locale is English):

      When current locale is German, AbstractI18nContentSupport#getProperty() first tries to resolve "property_de" (note the suffix)
      — because that doesn't exist, it keeps looking up for the next locale, down to the fallback one, that is English.

      Whenever current locale is the default locale, it should also try to lookup the property un-suffixed.

        Acceptance criteria

              mgeljic Mikaël Geljić
              efochr Evzen Fochr
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD