[MGNLPN-577] Nodes are wrapped multiple times with VariantDepthHidingNodeWrapper Created: 31/Aug/21  Updated: 16/Sep/21  Resolved: 01/Sep/21

Status: Closed
Project: Magnolia Personalization
Component/s: None
Affects Version/s: 2.1
Fix Version/s: 2.1

Type: Bug Priority: Neutral
Reporter: Jaroslav Simak Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: 0.75h
Original Estimate: Not Specified

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: Headless p13n
Sprint: HL & LD 36
Story Points: 1

 Description   

Steps to reproduce

  1.  Create page variant and add component variant to that page
  2.  Request the page via rest endpoint

Expected results

Page data json

Actual results

{ "error": \{ "code": "unknown", "message": "node /sauce-variants/variants/variant-0/main/0/variants/variant-0 is already decorated by class info.magnolia.personalization.rest.delivery.jcr.wrapper.VariantDepthHidingNodeWrapper$ContentDecorator" }

}

 


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