Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8290

Repository mapping fails in combination with Virtual-URI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 6.2.17
    • None
    • None

      Steps to reproduce

      1. Install a Local Environment with the Travel Demo (or use the public one)
      2. Delete the URI2RepositoryMapping for tours
      3. Import the attached config.modules.multisite.config.sites.travel.yaml for Travel
      4. Open a tour (e.g. http://localhost:8080/travel/tours/magnolia-travels/Spectacular-Ammouliani-Island.html)

      Expected results

      It should be no difference if the mapping for tours is done in the global URI2RepositoryMapping or in the Multisite configuration. The Tour Site should render.

      Actual results

      I get the 404 Page.

      Workaround

      Leave the configuration where it is.

      Development notes

      What I can say after a short debugging session is that the MultiSiteFilter already cuts the URL here.
      Therefore, the VirtualUriFilter cannot find a proper match anymore [here

      https://git.magnolia-cms.com/projects/PLATFORM/repos/main.pub/browse/magnolia-virtual-uri/src/main/java/info/magnolia/virtualuri/VirtualUriFilter.java#91-100]

        Acceptance criteria

              jsimak Jaroslav Simak
              tobias.kerschbaum Tobias Kerschbaum
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1.5d
                    1.5d