[MAGNOLIA-4587] Areas without a definition node don't render Created: 18/Oct/12  Updated: 19/May/22  Resolved: 19/May/22

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

Type: Bug Priority: Neutral
Reporter: Antti Hietala Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-4711 Templating: Allow to omit the area no... Closed
relation
is related to MAGNOLIA-4586 Implement inline areas as proposed Closed
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   

An area that does not have an associated definition node does not render. You don't need an area definition if you specify all the necessary parameters directly in the area directive.

[@cms.area name="new-list-area" components="standard-templating-kit:components/content/stkTextImage, standard-templating-kit:components/content/stkQuotedText" type="list" /]


 Comments   
Comment by Roman Kovařík [ 17/Mar/14 ]

We use area node for check of area existence. We render:

  • add button in page editor if such node doesn't exist
  • area content if node exists.
Comment by Roman Kovařík [ 19/May/22 ]

Hello,

This ticket is now marked as closed due to one of the following reasons:

  • A long period of inactivity
  • Uses an old or Beta version of an application, module, or framework that we no longer support
  • The issue is no longer reproducible or has been fixed in later versions

If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you.

Thank you,
The Magnolia Team

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