[MULTISITE-103] Problems when calling sitemap.xml in combination with the country page /SI Created: 12/Mar/21  Updated: 03/May/21  Resolved: 03/May/21

Status: Closed
Project: Magnolia Multisite Module
Component/s: None
Affects Version/s: 2.1.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Tobias Kerschbaum Assignee: Unassigned
Resolution: Workaround exists Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Our Customer Rittal told us about the following bug. They also showed us the behaviour in their system. 

Steps to reproduce

  1.  Create a Sitemap.xml and a Virtual Uri mapping to be able to reach the Sitemap over <localhost>/sitemap.xml
  2.  Create a Multiside setup with the Country Slovenia (SI) (but as fallback EN)
  3. Try to reach the sitemap.xml in the country site with SI

Expected results

The Sitemap.xml should be shown

Actual results

The MultiSiteFilter > cleanURI Method cuts S and I out the name Sitemap.xml.
So the Server tries to reach itemap.xml now. 

Workaround

For right now they created their own MultiSideFilter on top of our implementation to fix the bug on their side. In order to avoid any hassle in future updates for them, it would be very good if we fix this on our side and inform them about it.

Development notes


Generated at Mon Feb 12 06:06:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.