[MAGNOLIA-9145] Subnodes should not be included in a json response for inherited node that is filtered out by the predicateClass for freemarker Created: 17/Oct/23  Updated: 14/Dec/23  Resolved: 21/Nov/23

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0, 6.2.41

Type: Improvement Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Canh Nguyen
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: 0d Remaining Estimate: 0d
Σ Time Spent: 22.25d Time Spent: 20d 7h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by PAGES-1407 subnodes should not be included in a ... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MAGNOLIA-9146 Implement Sub-task Completed Canh Nguyen  
MAGNOLIA-9147 Review Sub-task Completed Chuong Doan Huy  
MAGNOLIA-9148 piQA Sub-task Closed Anh Vu  
MAGNOLIA-9149 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)
Release notes required:
Yes
Epic Link: Support
Sprint: DevX 50, DevX 51
Story Points: 3
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   
  • Extract some API in InheritanceContentDecorator for extend some API in SortAndAddPlaceHolderInheritanceContentDecorator
  • Propose API for info.magnolia.jcr.inheritance.InheritanceContentDecorator.DestinationNodeInheritanceNodeWrapper#setEvaluateChildren to be reused in pages rest. This is needed because the destination node is inherited from the parent (it's not a direct child of the current page node), so we need to evaluate its children
  • This also fix the same problem with inheritance in freemarker (https://jira.magnolia-cms.com/browse/PAGES-1407)

Generated at Mon Feb 12 04:39:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.