-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.4.0, 3.0.x
-
Component/s: UI
-
Release Notes Summary:The "User" screen handles "Vocabulary" properties and displays vocabulary entry label when possible.
-
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.
- clones
-
WEBUI-592 User schema: the vocabulary ID is displayed instead of the label
- Resolved