Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-592

User schema: the vocabulary ID is displayed instead of the label

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 2.4.59, 3.0.11
    • Component/s: UI
    • Release Notes Summary:
       A new configuration property org.nuxeo.web.ui.user.management.fetch.document is added to configure the headers used by user management screen.
    • Release Notes Description:
      Hide

      Adding a new configuration property org.nuxeo.web.ui.user.management.fetch.document to configure the headers used by user management.

      Show
      Adding a new configuration property  org.nuxeo.web.ui.user.management.fetch.document  to configure the headers used by user management.
    • Backlog priority:
      700
    • Team:
      UI
    • Sprint:
      UI - 2021-13, UI - 2022-02, UI Cooldown - 2021-13, UI Cooldown - 2022-02

      Description

       Repro steps: 

      To help with the repro, just drop the attached jar into nxserver/plugins and restart Nuxeo. This jar corresponds to the tag "ENV-FOR-WEBUI-592", branch feature/ged-administrative-scp, in my cchampain's Sandbox.

      1. In Studio
        1. Create a vocabulary
        2. Create a custom user schema with a field referencing the vocabulary in step 1
      2. In a running Nuxeo local instance
        1. Create a new user (and refresh the page)
        2. Edit the user

       
      Outcome: 

      In the user View, the vocabulary ID is displayed instead of the label.

      Expected behavior:

      The vocabulary label should be displayed.

      Observations / Suggested fix:

      We found out that the request header

      -H 'fetch-document: properties'
      

      is missing from the GET request headers for

      GET http://localhost:8080/nuxeo/api/v1/user/<username>

      When this header is added to the GET request, the response contains the correct entity type for the vocabulary field.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 40 minutes
                  1d 2h 40m