-
Bug
-
Resolution: Done
-
Critical
-
2.1.0.Final
-
None
AbstractJcrItem.getSession() throws RepositoryException if the session is not live - but I just need to obtain the session the Item was created with, no matter whether it is alive or not. Let me check this in my own code.
Or, to be precise, let Magnolia check it in its LazyContentWrapper.getWrappedContent() method:
See http://svn.magnolia-cms.com/svn/community/magnolia/tags/magnolia-4.3.5/magnolia-core/src/main/java/info/magnolia/cms/util/LazyContentWrapper.java - there is node.getJCRNode().getSession().isLive() check, but it gets RepositoryException in getSession() phase.