![]() |
|
|
|
|
Change By:
|
Tobias Mattsson
(25/Oct/13 6:57 PM)
|
|
Description:
|
When editing a group in security app and saving, whether changes were made or not the operation fails with an InvalidItemStateException.
The action that saves the group, SaveGroupDialogAction, rewrites the entire node so even if you don't do any changes the node is still updated.
Without the 'LastUpdateContentDecorator' it works without problems.
Stacktrace: {code} Caused by: javax.jcr.InvalidItemStateException: Item cannot be saved because it has been deleted externally: item.save() at org.apache.jackrabbit.core.ItemSaveOperation.getTransientStates(ItemSaveOperation.java:323) at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:98) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329) at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:812) at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:299) at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:299) at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:299) at info.magnolia.audit.MgnlAuditLoggingContentDecoratorSessionWrapper.save(MgnlAuditLoggingContentDecoratorSessionWrapper.java:82) at info.magnolia.jcr.wrapper.LastUpdateContentDecorator$LastUpdateSessionWrapper.save(LastUpdateContentDecorator.java:378) at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:299) at info.magnolia.jcr.wrapper.DelegateSessionWrapper.save(DelegateSessionWrapper.java:299) at info.magnolia.audit.MgnlAuditLoggingContentDecoratorSessionWrapper.save(MgnlAuditLoggingContentDecoratorSessionWrapper.java:82) at info.magnolia.security.app.dialog.action.SaveGroupDialogAction.execute(SaveGroupDialogAction.java:92) ... 101 more {code}
|
|
|
|
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]>
----------------------------------------------------------------