-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: 10.10-HF57
-
Fix Version/s: None
-
Component/s: Automation
-
Tags:
-
Backlog priority:600
-
Sprint:nxplatform #83
Steps to Reproduce:
- Define Studio project with:
- custom doctype that includes a multi-valued user/group field (OwnerTester in attached .jar)
- automation chain and event handler that populates above field with {{@
{CurrentUser.name}
}} at Empty Document Created
- In Web UI, create new instance of OwnerTester. Observe default value applied in nuxeo-user-suggestion widget of the Create layout, and create the document.
- Examine document's JSON export and observe ownertester:owner field - the username is prefixed with the string "user:".
- Create a new instance of OwnerTester. In the nuxeo-user-suggestion widget, remove the default value and re-select the user. Create the document.
- Examine document JSON export and observe ownertester:owner field - the username is not prefixed.
Expected behavior: the username pre-populated using CurrentUser object is not prefixed with 'user:'.
Actual behavior: the username pre-populated using CurrentUser object is prefixed with {{'user:' }}and there is no option to disable this.
- is related to
-
ELEMENTS-924 Wrong user name saved when using nuxeo-user-suggestion and Empty Doc Created
- Resolved