-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Core
-
Tags:
-
Backlog priority:900
-
Team:PLATFORM
-
Sprint:nxplatform #111
-
Story Points:3
When a proxy has a null target, it raises a DocumentNotFound exception this case must be handled instead of creating a stream failure:
org.nuxeo.ecm.core.api.DocumentNotFoundException: Proxy has null target for doc: 79e6c81c-9746-4aa6-9d2d-8d3d60143f82org.nuxeo.ecm.core.api.DocumentNotFoundException: Proxy has null target for doc: 79e6c81c-9746-4aa6-9d2d-8d3d60143f82 at org.nuxeo.ecm.core.storage.dbs.DBSSession.getDocument(DBSSession.java:461) ~[nuxeo-core-storage-dbs-2021.48.10.jar:?] at org.nuxeo.ecm.core.storage.dbs.DBSSession.getDocument(DBSSession.java:440) ~[nuxeo-core-storage-dbs-2021.48.10.jar:?] at org.nuxeo.ecm.core.storage.dbs.DBSSession.getDocument(DBSSession.java:422) ~[nuxeo-core-storage-dbs-2021.48.10.jar:?] at org.nuxeo.ecm.core.storage.dbs.DBSSession.getDocumentByUUID(DBSSession.java:402) ~[nuxeo-core-storage-dbs-2021.48.10.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:385) ~[nuxeo-core-2021.48.10.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.removeDocuments(AbstractSession.java:1668) ~[nuxeo-core-2021.48.10.jar:?] at org.nuxeo.ecm.core.bulk.action.TrashAction$TrashComputation.removeProxies(TrashAction.java:110) ~[nuxeo-core-bulk-2021.48.10.jar:?] at org.nuxeo.ecm.core.bulk.action.TrashAction$TrashComputation.compute(TrashAction.java:96) ~[nuxeo-core-bulk-2021.48.10.jar:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.lambda$processBatchOfDocuments$3(AbstractBulkComputation.java:151) ~[nuxeo-core-bulk-2021.48.10.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runInTransaction$4(TransactionHelper.java:642) ~[nuxeo-runtime-jtajca-2021.48.10.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:675) ~[nuxeo-runtime-jtajca-2021.48.10.jar:?] at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:642) ~[nuxeo-runtime-jtajca-2021.48.10.jar:?] at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.processBatchOfDocuments(AbstractBulkComputation.java:145) ~[nuxeo-core-bulk-2021.48.10.jar:?] at
- is related to
-
NXP-32497 CoreSession#removeDocuments should handle proxy with null target
- Open