Issue Type: Bug Bug
Affects Versions: 5.2
Assignee: Unassigned
Created: 09/Dec/13 3:04 PM
Description:

Suppose you're doing some additional validation in an action, besides that done by the validator proper.
If validation fails for some reason, you are presented again with the form to fix the data you entered before. Now data are correct and no validation error will occur.
However, the action will fail again, this time with NPE. Reason is at info.magnolia.ui.form.action.SaveFormAction.execute() line #90 which reads item.applyChanges();. What happened is that the underlying JCR session is expired in the meantime so that calling again item.applyChanges(); will return null, that item being temporarily created in the previous session and now no longer available.

Project: Magnolia UI
Priority: Major Major
Reporter: Federico Grilli
Security Level: Public
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to