Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.20.10
-
None
-
None
-
None
Description
When a new document is created and being discarded a stack trace is shown in the log:
21.05.2012 13:30:57 ERROR [org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.getEditorModel():238] error resolving editor model
javax.jcr.InvalidItemStateException: Item does not exist anymore: df56e44d-de14-44a4-902f-3b13930df481
at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116)
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:90)
at org.apache.jackrabbit.core.ItemImpl.getDepth(ItemImpl.java:391)
at org.hippoecm.repository.decorating.ItemDecorator.getDepth(ItemDecorator.java:113)
at org.hippoecm.repository.decorating.checked.ItemDecorator.getDepth(ItemDecorator.java:118)
at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.getEditorModel(EditorManagerPlugin.java:234)
at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.getEditor(EditorManagerPlugin.java:109)
at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.onClose(EditorManagerPlugin.java:221)
Reproduction path:
Make sure you don't have any other documents open. Create a new document (don't save). Close the document (click on 'x') and discard changes. This will cause a stack trace in the log.
Attachments
Issue Links
- relates to
-
REPO-472 Cancelling the creation of a document as editor does not work
- Closed