[MAGNOLIA-6986] Inheritance of area not working when area node is not created Created: 22/Mar/17 Updated: 22/Mar/17 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | templating |
| Affects Version/s: | 5.5, 5.5.1, 5.5.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Jordie Diepeveen | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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
|
| Description |
|
We are using the following prototype:
footer:
createAreaNode: false
inheritance:
enabled: true
components: all
editable: false
dialog: jonglaan:areas/footer
renderType: freemarker
templateScript: /mymodule/templates/areas/footer.ftl
type: noComponent
areas:
metaLinks:
createAreaNode: false
inheritance:
enabled: true
components: all
maxComponents: 1
availableComponents:
linkList:
id: mymodule:components/linkList
The home template is using the following definition:
areas:
footer:
editable: true
createAreaNode: true
areas:
metaLinks:
createAreaNode: true
The inheritance of the footer area is not working. When the createAreaNode is set to true in the prototype, it's working again. I don't see the reason of creating all the footer area nodes in every page when only the homepage has real content in it. |