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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.5, 2.6.1
    • Component/s: None
    • Labels:
      None
    • Release notes required:
      Yes
    • Sprint:
      Kromeriz 130, Kromeriz 131, Kromeriz 133
    • Story Points:
      2
    • Magnolia Release:
      5.5.10, 5.6.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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsimak Jaroslav Simak
                Reporter:
                jsimak Jaroslav Simak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: