[MGNLFE-681] disabled area should not render content Created: 21/Oct/23  Updated: 13/Dec/23  Resolved: 29/Nov/23

Status: Closed
Project: Magnolia Frontend Helpers
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.2-react, 1.5.1-angular

Type: Bug Priority: Neutral
Reporter: Riste Drangovski Assignee: Anh Vu
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: 1.5h Remaining Estimate: 1.5h
Σ Time Spent: 5.5d Time Spent: 5.5d
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File image-2023-10-20-23-56-18-967.png     PNG File image-2023-10-21-00-06-03-407.png    
Issue Links:
Cloners
is cloned by PAGES-1524 disabled area should not render content Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLFE-704 Implement Sub-task Completed Anh Vu  
MGNLFE-705 Review Sub-task Completed Canh Nguyen  
MGNLFE-706 piQA Sub-task Completed Canh Nguyen  
MGNLFE-707 QA Sub-task Completed Chuong Doan Huy  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Epic Link: Support
Sprint: DevX 51
Story Points: 3
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   
  • disable extras area in basic template by setting enabled property to false

Expected result:

  • main area to be editable and all components to be visible
  • extras area not to be editable, components of the area to be hidden, area to be hidden

Based on magnolia documentation:
https://docs.magnolia-cms.com/product-docs/6.2/Developing/Templating/Template-definition/Area-definition.html

- enabled:

When set to false, the area is not rendered, regardless of whether it contains content such as components, auto-generated content or content rendered by a script. Content is retained in the repository and will render when the area is re-enabled. 

Actual result:

  • main area is not editable (green bars are not shown)
  • extras area is not editable (green bars are not shown), but content of the are is rendered

 


Generated at Mon Feb 12 05:49:45 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.