[MAGNOLIA-4955] It should not be possible to move a page to a location where it can't be created Created: 05/Apr/13 Updated: 20/Jul/15 Resolved: 07/Aug/14 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | admininterface |
| Affects Version/s: | 4.4.9 |
| Fix Version/s: | 4.5.22 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Nils Breunese | Assignee: | Ondrej Chytil |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | support, vpro | ||
| 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 |
|
We use template availability per site to define the structure of a site. However, editors can easily subvert this mechanism by creating a page with a certain template and then moving that page to a location where creating a page with that template is not allowed. (And yes, our editors are doing this all the time.) I feel Admin Central should not allow moving a page to a location where that page's template is not available. |
| Comments |
| Comment by Nils Breunese [ 18/Mar/14 ] |
|
Using Magnolia 4.5.17 we still have problems because of this issue.
|
| Comment by Jan Haderka [ 18/Mar/14 ] |
|
Yes, this issue exists only in 4.x branches, but is already fixed in Magnolia 5. See linked ticket (and those linked from there) for the code changes made. |
| Comment by Nils Breunese [ 10/Oct/14 ] |
|
We have upgraded to Magnolia 4.5.22 and noticed it is indeed no longer possible to move a page to a location where a page with that template cannot be created. However, moving a page with a template to another location where pages with that template can be created is in fact now also blocked! I think this issue should be reopened. |
| Comment by Ondrej Chytil [ 10/Oct/14 ] |
|
Hi Nils, still working on this side. Can you share the way how are you handling template availability (both system and site). You can start a support ticket to not expose anything you don't want to on public ticket. |
| Comment by Nils Breunese [ 14/Oct/14 ] |
|
After checking it with the debugger I found the error is on our part: we had two different templates with the same display name, which made us think it didn't work, but in fact it seems fine. Sorry about that! |