Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-310

ResourceLinker might generate wrong URLs to resources when site has mapping with URIPrefix and is i18nized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.5.5, 2.6.1
    • None
    • None
    • None
    • Yes
    • Kromeriz 130, Kromeriz 131, Kromeriz 133
    • 2

    Description

      Issue is caused by function that is called on templatingFunctions object.

      Function that generates the prefix must take into account:

      • context path
      • site name, if no matching domain is found
      • locale from the prefix must be ommited

      Possible option is to extract part of code that generates prefix into a protected method and override it in MultiSite module.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                jsimak Jaroslav Simak
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD