[MAGNOLIA-7166] Page gets 404 when the beginning of the requested path matches handle prefix in site definition Created: 28/Sep/17 Updated: 13/Jul/18 Resolved: 12/Jul/18 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.5.6, 5.6.3 |
| Fix Version/s: | 5.5.12, 5.6.7, 5.7.1, 6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Edwin Guilbert | Assignee: | Jaroslav Simak |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Current online demo env |
||
| 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: | |||||||||||||||||||||||||||||
| Epic Link: | Support | ||||||||||||||||||||||||||||
| Sprint: | Kromeriz 153, Kromeriz 154, Kromeriz 155 | ||||||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||||||
| Description |
|
When a site is defined, it defines a handle prefix in mappings. If this handle prefix is similar to the beginning of the path of the page that it is being requested, then this first part of the path is removed and the page cannot be found and cannot be rendered, getting an error 404. How to reproduce it in demo website: If you create a page under travel demo website with a name that begins with travel, the page editor won't be able to edit it and if you try to render it you will get 404. Steps to reproduce:
|