EARS: When a seller sends a change request, the system shall compare the order version the request carries, if any, with the order's current version before applying the change.
Story: As a seller, I want a change I make on an order I saw at an older version to be refused, so that I never overwrite a change I have not seen.
Acceptance criteria:
-
ONE-405.1: When a change request carries the order's current version, the system shall apply the change and raise the version by one.
-
ONE-405.2: When a change request carries no version, the system shall apply the change.
-
ONE-405.3: If a change request carries a version other than the order's current version, then the system shall reject the change.
A request without a version proceeds, as the guide says. A request with
another version is handled as the reading of the guide says
(StaleHandling).