Rest API Optimistic concurrency via Version #

The REST Service doesn’t appear to enforce Optimistic Concurrency. I can update without a version # but if I do provide it there is no validation. Is this by design? Is there a way for me to require version and have it be validated?

Thanks.

Hi Josh,

Unfortunately, REST API doesn’t support optimistic concurrency via version. System uses last version from database when the entity is updated. We have created issue: https://github.com/cuba-platform/cuba/issues/1196

Thank you,
Andrey

A post was split to a new topic: Problem with cuba.rest.optimisticLockingEnabled