Details
-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.14.0
-
None
-
None
Description
I am not sure this is relevant, but when trying out the openApi docs I stumbled upon this.
Scenario:
I try to change the id of a group called sales via the rest api and try to change the id to salesteam
curl -X PUT "http://localhost:8080/engine-rest/group/sales" -H "accept: */*" -H "Content-Type: application/json" -d "{\"id\":\"salesteam\",\"name\":\"Sales2\",\"type\":\"Organizational Unit\"}"
Expected:
It fails and tells me it is not possible to update the id (if that is indeed the intended behavior)
Observed:
I get a 500 response with:
{ "type": "OptimisticLockingException", "message": "ENGINE-03005 Execution of 'UPDATE GroupEntity[salesteam]' failed. Entity was updated by another transaction concurrently." }
Hints:
This might be the case for other PUT endpoints, too.