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

i18n: MgnlContext.setLocale() is never used while FreemarkerHelper depends on it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 3.5.4
    • core
    • None

    Description

      In the DefaultI18nContentSupport, we get/set the locale on the AggregationState. FreemarkerHelper determines the Locale based on the MgnlContext.getLocale(). As a consequence, emails sent with freemarker when no user is logged in are always sent with the anonymous' user's locale instead of whatever the current locale is, as determined by the I18nContentSupport.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD