[MAGNOLIA-1919] Nested paragraphs not working anymore in 3.5-rc2 Created: 04/Dec/07  Updated: 23/Jan/13  Resolved: 04/Dec/07

Status: Closed
Project: Magnolia
Component/s: taglibs
Affects Version/s: 3.5 RC2
Fix Version/s: 3.5 RC3

Type: Bug Priority: Critical
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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   

still to be debugged properly, but looks like that nested paragraphs don't work anymore after upgrading to 3.5-rc2.
Nested contentNodeIterator tags doesn't work correctly anymore and return an empty collection.



 Comments   
Comment by Jan Haderka [ 04/Dec/07 ]

Do you happen to specify contentNodeName instead of contentNodeCollectionName? The way nodes are resolved is now same for all the tags (which is a bit different to what it was initially for contentNodeIterator. Now you should be able to override node names in the nested paragraphs if u need to. Could you attach the way you defined those nested paragraph tags? I'll have a look at it.

Comment by Fabrizio Giustina [ 04/Dec/07 ]

The change in contentNodeIterator broke the case where you were using the contentNodeCollectionName attribute inside a paragraph. Fixed the method in BaseContentTag and added a new unit test.

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