Working in Postman, if an entity has a ProfileVersion of 0 then I have to specify 0 in order to write. However it appears that if ExpectedProfileVersion is 0 that means ALWAYS write.
So it breaks the concurrency at least in this case...
- Request 1 check GetProfile (ProfileVersion = 0)
- Request 2 check GetProfile (ProfileVersion = 0)
- Request 2 SetObjects (ExpectedProfileVersion = 0)
- Request 1 SetObjects (ExpectedProfileVersion = 0)
Step 4 succeeds even though it the ProfileVersion is now 1.