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

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD