-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Migration Service, Tagging
-
Sprint:nxcore 10.10.5, nxcore 11.1.1
-
Story Points:1
A DocumentNotFoundException is raised when trying to get tags / untag of a document that is deleted with the BridgeTagService :
org.nuxeo.ecm.core.api.DocumentNotFoundException: db6f7ddb-ea4c-4849-9f78-2bb650cef754 at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getDocumentByUUID(SQLSession.java:188) ~[nuxeo-core-storage-sql-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:332) ~[nuxeo-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:937) ~[nuxeo-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.platform.tag.FacetedTagService.doUntag(FacetedTagService.java:109) ~[nuxeo-platform-tag-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.platform.tag.BridgeTagService.doUntag(BridgeTagService.java:83) ~[nuxeo-platform-tag-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.platform.tag.AbstractTagService.lambda$untag$1(AbstractTagService.java:127) ~[nuxeo-platform-tag-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.core.api.CoreInstance$4.run(CoreInstance.java:239) ~[nuxeo-core-api-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:117) ~[nuxeo-core-api-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.core.api.CoreInstance.doPrivileged(CoreInstance.java:241) ~[nuxeo-core-api-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.platform.tag.AbstractTagService.untag(AbstractTagService.java:126) ~[nuxeo-platform-tag-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.platform.tag.AbstractTagService.removeTags(AbstractTagService.java:167) ~[nuxeo-platform-tag-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.platform.tag.TaggedVersionListener.handleEvent(TaggedVersionListener.java:72) ~[nuxeo-platform-tag-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.platform.tag.TaggedVersionListener.handleEvent(TaggedVersionListener.java:53) ~[nuxeo-platform-tag-core-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.core.event.impl.PostCommitEventExecutor$EventBundleRunner.call(PostCommitEventExecutor.java:251) [nuxeo-core-event-10.10-I20190113_2305.jar:?] at org.nuxeo.ecm.core.event.impl.PostCommitEventExecutor$EventBundleRunner.call(PostCommitEventExecutor.java:210) [nuxeo-core-event-10.10-I20190113_2305.jar:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
- is related to
-
NXP-26682 Clean old Tag documents during migration
- Open