Uploaded image for project: 'Browser Developer Extensions'
  1. Browser Developer Extensions
  2. BDE-213

Unable to view document JSON if name contains doc ID

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1, 3.1.2
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Tags:
    • Backlog priority:
      500
    • Logged In as Administrator:
      Yes
    • Dev Mode Activated:
      Yes
    • CORS Configured:
      Yes

      Description

      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:?]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: