[MAGNOLIA-6956] Updating from 5.5 to 5.5.1 will show 404 error for homepage Created: 12/Feb/17  Updated: 21/Mar/17

Status: Open
Project: Magnolia
Component/s: None
Affects Version/s: 5.5, 5.5.1, 5.5.2
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Jordie Diepeveen Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CE


Attachments: PNG File default_virtual_uri_mapping.png     PNG File website_virtual_uri_mapping.png    
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   

After updating from 5.5.0 to 5.5.1 the homepage is resulting in a 404 error. All sub-pages below the homepage are working.

Because it's the public instance, the website URI2RepositoryMapping (config:/server/URI2RepositoryMapping/mappings/website/) is set to handle the content from /mysite (which is the name of the homepage node)

The default virtualURIMapping (config:/modules/ui-admincentral/virtualURIMapping/default) is set the forward / to /mysite

Sub-pages are working: e.g. www.mysite.com/contact, so it seems only be related to the homepage.

Reverting back to 5.5 will make the site work again. This issue can be reproduced on multiple CE projects with the same default setup for the virtualURIMapping and website URI2RepoMapping.



 Comments   
Comment by Jordie Diepeveen [ 05/Mar/17 ]

A possible fix it so remove the default virtualURIMapping from the ui-admincentral module on the public instance.

Comment by Jordie Diepeveen [ 21/Mar/17 ]

The possible fix to remove the default virtualURIMapping from the ui-admincentral will mess up the 404 page when it's served by the CMS (changes in web.xml --> /home/404.html)

Generated at Mon Feb 12 04:19:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.