[MGNLUI-6890] Make sure succession calls to JcrNodeWrapper #addNode and #getNode in the same session store info about path and node type Created: 30/Sep/21  Updated: 05/Oct/21  Resolved: 30/Sep/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.13

Type: Improvement Priority: Neutral
Reporter: Jaroslav Simak Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLFE-117 Create missing area nodes on client-s... Closed
is depended upon by PAGES-491 Make sure that page/component creatio... Closed
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)
Sprint: HL & LD 38
Story Points: 1

 Description   

The problem as it seems:

  • Use NodeUtil#createPath to create a new child (returns properly populated JcrNodeWrapper with path/type via #addNode API)
  • Call NodeUtil#createPath again for same node in same session: now the node exists in session and is returned again but now w/out path/type info backed up.

 


Generated at Mon Feb 12 09:41:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.