-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
None
-
Affects Version/s: 10.87, 10.88
-
Component/s: Import|Export
-
2
-
Severity 3 - Minor
-
No
Issue Summary
When importing a user from the template, if companyId is left blank, the value that will be passed on will be blank, instead of null. The same applies to company.
This causes an issue when using the API to alter a user, as an error message will inform us that companyId and company cannot be empty.
The behavior is correct when creating the user from the UI, by setting the value to null
Steps to Reproduce
- Create a user from the import template
- Leave companyId empty
- Optionally, leave company empty as well
Verify the user from a GET call and check companyId field
Create another user from UI and check the same
Expected Results
- Per UI behavior, the values should be:
"companyId": null, "company": null,
Actual Results
- The value when using import is:
"company": "", "companyId": "",
Workaround
- Manually patch the value:
[ { "op": "replace", "path": "/companyId", "value": null } ]
- is related to
-
JIRAALIGN-2926 API 2.0: PATCH call towards /align/api/2/Users/<id> results in HTTP 400 Error Bad Request
-
- Closed
-
- is connected to
-
JAIAC-283 Loading...
-
JAVOM-2202 Loading...
- relates to
-
ALIGNSP-8307 Loading...
(1 relates to)