-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
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:
-
Tags:
-
Backlog priority:700
-
Team:UI
-
Sprint:UI - 2021-13, UI - 2022-02, UI Cooldown - 2021-13, UI Cooldown - 2022-02
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.
- In Studio
- Create a vocabulary
- Create a custom user schema with a field referencing the vocabulary in step 1
- In a running Nuxeo local instance
- Create a new user (and refresh the page)
- 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.
- is cloned by
-
ELEMENTS-1466 User schema: the vocabulary ID is displayed instead of the label
- Resolved