Uploaded image for project: 'Magnolia Multisite Module'
  1. Magnolia Multisite Module
  2. MULTISITE-86

Site not matched correctly if page and locale are equal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.2.21, 1.3.5
    • 1.3.2
    • None
    • Magnolia EE Pro 5.6.3
    • Yes
    • Yes
    • Kromeriz 148, Kromeriz 149, Kromeriz 150, Kromeriz 152, Kromeriz 157, Kromeriz 158
    • 13

    Description

      We found that the Multisite rule "uri-prefix-not-empty" did not match correctly the multisite definition. The same configuration works for 5.6.1 but not in 5.6.3.

      I attached the multisite configuration and the page tree screenshot.

      The problem was that the page "/de" was not reachable and producing 404 because "unibas-newsletter" site definition was mached instead of "fallback".

      The Problem is linked to the page having the same name than the locale ("de")

      I fixed the issue by modifying the Class NotEMptyUriPrefixMatcher. (see attachment, Class and rules config)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                pierre Pierre Sandrin
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD