I've read this many times in this list: People often cannot delete nodes. An it happened to me too. You get stuff in the log like:

javax.jcr.RepositoryException: /: unable to update item.: 95ae163b- d066-4da0-99dd-d3fd470115ae: 95ae163b-d066-4da0-99dd-d3fd470115ae
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1248)
at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:849) at info .magnolia .cms.core.DefaultHierarchyManager.save(DefaultHierarchyManager.java:555) at info .magnolia.cms.filters.InterceptFilter.intercept(InterceptFilter.java: 163)
....
Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: 95ae163b-d066-4da0-99dd-d3fd470115ae at org .apache .jackrabbit .core .state .SharedItemStateManager.getNodeReferences(SharedItemStateManager.java: 332) at org .apache .jackrabbit .core .state .SharedItemStateManager.updateReferences(SharedItemStateManager.java: 1317)
....
org.apache.jackrabbit.core.state.NoSuchItemStateException: 95ae163b- d066-4da0-99dd-d3fd470115ae at org .apache .jackrabbit .core .state .SharedItemStateManager.getNodeReferences(SharedItemStateManager.java: 332) at org .apache .jackrabbit .core .state .SharedItemStateManager.updateReferences(SharedItemStateManager.java: 1317) at org.apache.jackrabbit.core.state.SharedItemStateManager $Update.begin(SharedItemStateManager.java:550)
....

And none of the following can resolve the problem:
- restarting tomcat
- deleting the parent node too
- sacrificing a chicken (mentally)
- banging my head to the desk

So I end up moving these nodes to a "trash" folder which does not really qualify as "solution" IMO.

So what's the standard procedure in these cases. Since they happen that often, there must be some consent on how to resolve this, right? Could it be that the MetaData of the nodes which cannot be deleted are corrupt in some way... but then this would rather be a Magnolia problem than a jackrabbit problem.

Thanks for the help!

-will

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to