-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2021.27
-
Component/s: Workflow
-
Release Notes Summary:Runnable Wokflow models can now be retrieved within a multi repository deployment
-
Tags:
-
Backlog priority:700
-
Sprint:nxplatform #74
-
Story Points:5
Steps to reproduce
The below steps were only tested with mongodb, not a SQL DB
- Set up multirepo configuration (at least 2 repos)
- Start your instance
- Navigate to 2nd repo
- Do a tail on the server.log file
- Click Domain-> Workspaces
- Notice warning in the logs
See a warning similar to the following
2022-10-24T15:17:31,495 WARN [http-nio-0.0.0.0-8080-exec-11] [org.nuxeo.ecm.core.io.marshallers.json.enrichers.AbstractJsonEnricher] The following error occured with enricher: runnableWorkflows org.nuxeo.ecm.core.api.DocumentNotFoundException: db923ea6-1469-423a-8aed-f9da952abe85 at org.nuxeo.ecm.core.storage.dbs.DBSSession.getDocumentByUUID(DBSSession.java:402) ~[nuxeo-core-storage-dbs-2021.27.13.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:356) ~[nuxeo-core-2021.27.13.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:999) ~[nuxeo-core-2021.27.13.jar:?] at org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingServiceImpl.getRouteModelWithId(DocumentRoutingServiceImpl.java:789) ~[nuxeo-routing-core-2021.24.3.jar:?] at org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingServiceImpl.canCreateInstance(DocumentRoutingServiceImpl.java:1413) ~[nuxeo-routing-core-2021.24.3.jar:?] at org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingServiceImpl.lambda$getRunnableWorkflows$16(DocumentRoutingServiceImpl.java:1447) ~[nuxeo-routing-core-2021.24.3.jar:?]
The above document ID corresponds to a workflow document (Parallel Workflow) that exists in the 1st repository (default). Nuxeo should not be looking for in a different repo.
- duplicates
-
NXP-30856 runnableWorkflows enricher returns an empty response when not used in the default repo
- Resolved