[MGNLUI-4629] Saving form throws error Created: 04/Jun/18  Updated: 24/Sep/18  Resolved: 04/Sep/18

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

Type: Bug Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Obsolete Votes: 1
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:
Epic Link: UI framework implementation
Story Points: 8

 Description   

After bringing the project to Magnolia 5.7-SNAPSHOT which updates JackRabbit from 2.14.x to 2.16.1 we get the error below when saving a form

info.magnolia.contentapp.databinding.SaveFormAction.execute(SaveFormAction.java:75) ~[content-app-1.0-SNAPSHOT.jar:?] ... 111 more
Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: d1ce6e2c-263c-4407-9278-29127bd285a3 
[...]
info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNodeByIdentifier(ContentDecoratorSessionWrapper.java:129) ~[magnolia-core-5.7-SNAPSHOT.jar:?] at info.magnolia.jcr.wrapper.LazyNodeWrapper.getWrappedNode(LazyNodeWrapper.java:69) ~[magnolia-core-5.7-SNAPSHOT.jar:?]


 Comments   
Comment by Roman Kovařík [ 17/Jul/18 ]

The problem is that the node for multifield is created when the detail is opened.

At the time the detail is being saved, that node, wrapped into a LazyNodeWrapper has expired session, trying to get the node by UUID again fails since that session with the "multi" node created has already expired and has never been saved.

Comment by Saimir Gasa [ 30/Aug/18 ]

fgrilli, could you please provide steps to reproduce?

Comment by Roman Kovařík [ 04/Sep/18 ]

This might be already fixed by multi value field changes.

 

Comment by Saimir Gasa [ 04/Sep/18 ]

How could we verify and if that's the case could we please close this as Obsolete rkovarik?

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