[MAGNOLIA-1688] VirtualURIMapping returns a 404 for a mapped page Created: 19/Aug/07  Updated: 11/Sep/08  Resolved: 11/Sep/08

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

Type: Bug Priority: Major
Reporter: zam6ak Assignee: Magnolia International
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnilia 3.1-SNAPSHOT
Jackrabbit 1.3.1
JBoss 4.0.5GA (Tomcat 5.5.20)
Java 6.02


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   

To reproduce:

1. on public instance go to /modules/admininterface/VirtualURIMapping
2. edit the default mapping to have following:
fromURI -> /
toURI -> redirect:/index.html

After going to public instance (like http://localhost/magnoliaPublic/) I get a 404 page

Cause:

default URI mapping is missing class -> info.magnolia.cms.beans.config.DefaultVirtualURIMapping node date

Workaround:

add info.magnolia.cms.beans.config.DefaultVirtualURIMapping to class node data in default uri mapping

The bootstrap file needs to be adjusted



 Comments   
Comment by Magnolia International [ 11/Sep/08 ]

As far as I can tell, we introduced the possibility to have multiple VirtualURIMapping implementations since MAGNOLIA-1509 (3.1 M2), and DefaultVirtualURIMapping has always been the default implementations. If this didn't work at some point, it might have been a bug in content2bean that has been solved since.

The only way I am able to reproduce this is by having a class property but with no value. I've filed a bug report against content2bean for this: MAGNOLIA-2361

Please feel free to reopen if there something I've missed.

Generated at Mon Feb 12 03:29:21 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.