Implementation of optional areas (MAGNOLIA-4265)

[MAGNOLIA-4289] Removing a optional area trigger a PathNotFoundException Created: 30/Nov/11  Updated: 23/Jun/14  Resolved: 30/Nov/11

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

Type: Sub-task Priority: Major
Reporter: Samuel Schmitt Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:

 Description   

In STK the stage area is optional, we you click on "Remove area" a PathNotFoundException is triggered.
The reason is that it tries to remove the path:
--> demo-project/about/stage/stage/

but the correct path is
--> demo-project/about/stage


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