-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.8.0-HF19, 5.9.5
-
Component/s: Core VCS
-
Tags:
-
Sprint:Sprint RepoTeam 5.9.5-1
A fragment marked absent in the PersistenceContext must not be returned to getMulti if allowAbsent is false.
Otherwise the typical error is:
java.lang.NullPointerException at org.nuxeo.ecm.core.storage.sql.Node.isProxy(Node.java:155) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:627) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:614) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getParent(SQLSession.java:692) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.getParent(SQLDocumentLive.java:125) at org.nuxeo.ecm.core.api.DocumentModelFactory.createDocumentModel(DocumentModelFactory.java:90) at org.nuxeo.ecm.core.api.AbstractSession.readModel(AbstractSession.java:375)