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

Recent changes to NotEmptyUriPrefixMatcher removed the possibility to configure subsites for a domain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 1.2.20, 1.3.1, 1.3.2, 1.3.3
    • None

    Description

      There have been recent changes to the NotEmptyUriPrefixMatcher class, according to this ticket: https://jira.magnolia-cms.com/browse/MULTISITE-80

      Since then, this class doesn't do anymore what its name (NotEmptyUriPrefixMatcher) suggests, because it will also match sites that have an empty URIPrefix.

      The description of the rule "domain-and-uri-prefix-not-empty" says: Domain and not empty uri prefix (subsites)

      So you cannot configure subsites anymore, this is a very critical issue, please fix this asap.

      (there is only one workaround atm: order the subsite above the mainsite in the site definitions, and hope that the order is never reversed during matchin by whatever mechanism)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                bvass Bence Vass
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD