[PAGES-1524] disabled area should not render content Created: 22/Nov/23  Updated: 13/Dec/23  Resolved: 29/Nov/23

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0, 6.2.33

Type: Bug Priority: Neutral
Reporter: Anh Vu Assignee: Anh Vu
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: 0d Remaining Estimate: 0d
Σ Time Spent: 4d Time Spent: 4d
Σ 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
clones MGNLFE-681 disabled area should not render content Closed
documentation
to be documented by PAGES-1534 DOC: Disabled area should not render ... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
PAGES-1525 Implement Sub-task Completed Anh Vu  
PAGES-1526 Review Sub-task Completed Canh Nguyen  
PAGES-1527 piQA Sub-task Completed Canh Nguyen  
PAGES-1528 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
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Support
Sprint: DevX 51
Story Points: 1
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

 



 Comments   
Comment by Oanh Thai Hoang [ 27/Nov/23 ]

LIMITATION need to be docu: This fix for checking disable area should not showing data only apply for 

$type: jcrPagesDeliveryEndpoint_v2
Comment by Anh Vu [ 28/Nov/23 ]

The solution is that disabled area nodes will not be included in pages delivery endpoint response. This should be mentioned in docu as well.

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