[LIVECOPY-55] 404 when changing the language of the site Created: 20/Nov/18  Updated: 19/Dec/18  Resolved: 19/Dec/18

Status: Closed
Project: Live Copy
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Francisco Gonzalez Assignee: Jan Schulte
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
causality
caused by MULTISITE-90 Recent changes to NotEmptyUriPrefixMa... Open
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   

In the referenced sites when you try to change the language you get a 404. The URL is built like 

http://localhost:8080/live-copy-568-webapp/de/travel0.html and I get 404 error. Requesting the URL like http://localhost:8080/live-copy-568-webapp/travel0/de/ also have 404 error.

 

I think it's related with the ticket https://jira.magnolia-cms.com/browse/MULTISITE-90



 Comments   
Comment by Edwin Guilbert [ 20/Nov/18 ]

There is a workaround for this:

Creating a new site definition for each "live copy".

Example: If you create a live copy of travel called travel0, create manually a site definition called travel0 with same configuration as travel (could be an extends).

The original reason for this bug is the fallback misbehaving from 5.5.10 so avoiding a fallback will do the job.

This is something we might consider adding as a feature for the module:

  • Creating a site definition automatically for every live copy created. (Ideally using extends from original site definition)

 

Generated at Mon Feb 12 02:25:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.