[MAGNOLIA-4080] templating inheritance: sub area of an area having inheritance true should also inherit, if not overruling it explicit Created: 29/Dec/11  Updated: 22/Mar/12  Resolved: 22/Mar/12

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

Type: Task Priority: Major
Reporter: Christian Ringele Assignee: Tobias Mattsson
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
relation
is related to MAGNOLIA-4297 templating: implement inheritance bas... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

The example is extras1&2 in extras area.
When extras has configured inheritance=true, the sub areas extras1&2 should also inherit automatically.
Only if a sub area explicit configures inheritance=false, it should not also inherit.

This should be this way cause of:
Otherwise you loose control by the prototype. Any concrete template can have more than 2 extras areas. And theoretically any concrete template can have in any area as many subareas it needs.
When in the prototype an area is defined as being inheritance=true, this should control every of its sub areas within this area which is not explicit overruling.
And additionally, id a sub area always need also to define it, you can't have the concrete template react dynamic to the different prototypes.


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