If you create a document that has a docID in the name/title (e.g. File.8a9c4e5e-12dc-461c-ac54-a3c609850e78), you will not be able to view the JSON for this document. Instead of doing a request by path, it does a request by ID but passes in the path
e.g.
/nuxeo/api/v1/repo/default/id/<path to document>
Logs show the error
[org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.core.api.DocumentNotFoundException: default-domain org.nuxeo.ecm.core.api.DocumentNotFoundException: default-domain at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getDocumentByUUID(SQLSession.java:167) ~[nuxeo-core-storage-sql-2021.12.6.jar:?]
- causes
-
BDE-219 Unable to view document JSON for versions
- To Do