-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Component/s: Core
-
Tags:
-
Team:PLATFORM
-
Story Points:3
When trying to remove a proxy with a null target this method throws a DocumentNotFoundException which prevent to remove the proxy.
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
Note that as a temporary workaround the TrashAction is catching this exception to avoid a failure.
- is related to
-
NXP-32455 TrashAction should not fail on orphan proxies
- Resolved