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

Make ServletDispatchingFilter i18n aware

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.2
    • 4.1.1
    • None
    • None

    Description

      When i18n is enabled and using DefaultI18nContentSupport localized links to content in DMS result in 404. The links created looks like (which seems correct):

      /magnoliaAuthor/en_GB/dms/demo-project/downloads/Magnolia_Flyer_4-0/Magnolia%20Flyer%204.0.pdf
      /magnoliaAuthor/en_GB/dms/demo-project/img/logos/magnolia-logo-print.gif
      /magnoliaAuthor/en_GB/dms/demo-project/videos/magnolia_intro_480px.mov
      

      It makes no difference whether locale is including the country code or not, the content from DMS still can't be retrieved.

      The issue is caused by the ServletDispatchingFilter not being aware of possible i18n locale in the uri.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                had Jan Haderka
                had Jan Haderka
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD