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

JSON output for doc id page generates invalid url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: Chrome
    • Environment:
      Windows 10 (host), Linux VM (xubuntu 18.04.2 LTS)
      Nuxeo version is LTS 2019 (10.10)
      Chrome Version 72.0.3626.121 (Official Build) (64-bit)
    • Browser:
    • Logged In as Administrator:
      Yes
    • Dev Mode Activated:
      Yes
    • Sprint:
      QA - 11.1.6
    • Story Points:
      3

      Description

      I'm viewing a doc by its id at

      /nuxeo/ui/#!/doc/f96924a3-6936-431b-acc4-9cd055c2196a

      and then use bde to view its json, but the url generated is:

      /nuxeo/api/v1/idf96924a3-6936-431b-acc4-9cd055c2196a?enrichers.document=acls,permissions

      but should be:

      /nuxeo/api/v1/id/f96924a3-6936-431b-acc4-9cd055c2196a?enrichers.document=acls,permissions

      (note the missing slash after /nuxeo/api/v1/id) and also is missing &properties=* in the url query

      Note: Browsing by document path instead of by id works ok e.g.

      /nuxeo/ui/#!/browse/default-domain

      gives

      /nuxeo/api/v1/path/default-domain?enrichers.document=acls,permissions&properties=*

      Note: Nuxeo version is LTS 2019 (10.10) but not available in dropdown below. Using Chrome Version 72.0.3626.121 (Official Build) (64-bit)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m