[MAGNOLIA-6322] JcrConfigurationSource may produce incorrect definition raw view Created: 27/Jul/15  Updated: 15/Apr/16  Resolved: 27/Jul/15

Status: Closed
Project: Magnolia
Component/s: configuration
Affects Version/s: 5.4
Fix Version/s: 5.4.1

Type: Bug Priority: Major
Reporter: Aleksandr Pchelintcev Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: configuration
Remaining Estimate: 0d
Time Spent: 1d 5.5h
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-6069 Implement config source for JCR Closed
dependency
is depended upon by MAGNOLIA-6306 Ability to export YAML files based on... Closed
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
Sprint: Sprint 3 (Basel)
Story Points: 1

 Description   

Under certain circumstances the DefinitionRawView produced by JcrConfigSource may be incorrect:

  • Due to quirky N2B's collection resolution mechanism, the kind of the sub-raw views may appear not as collection but as subBean (since collections are handled via maps and only converted back when assigned to the resulted bean).
  • Same name nodes within definition hierarchy confuse the algorithm and parts of the raw view get lost.


 Comments   
Comment by Aleksandr Pchelintcev [ 27/Jul/15 ]

Fix can be found on the branch: fix/MAGNOLIA-6322-apch

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