[MAGNOLIA-1653] VirtualURI feature is broken in 3.1M1 Created: 02/Aug/07 Updated: 23/Jan/13 Resolved: 01/Nov/07 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 3.1 M1 |
| Fix Version/s: | 3.5 RC1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Fabrizio Giustina | Assignee: | Fabrizio Giustina |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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 |
|
virtual uri mappings for magnolia pages don't work anymore, they only works if the destination is not a page generated by magnolia. an easy test (used with the sample pages):
try http://localhost:8080/magnolia/help/services/test.html java.lang.IllegalStateException: Original URI can only be set once ! Existing value is [/help/services/test.html], tried to replace it with [/magnolia/help/services/test.html] if you try using toURI=forward:/help/services.html the result is instead a 404: that is normal since the magnolia filter is not registered with dispatcher FORWARD in web.xml. |
| Comments |
| Comment by Fabrizio Giustina [ 02/Aug/07 ] |
|
fixed in trunk by ignoring duplicate calls to setOriginalURI(). Not sure if this is a definitive fix to this, I am going to leave this issue open for a review... |
| Comment by Magnolia International [ 10/Oct/07 ] |
|
To be reviewed; probably related to |
| Comment by Fabrizio Giustina [ 01/Nov/07 ] |
|
fixed by |