Two valid observations

A supervisor changes tomorrow's inspection from routine to urgent. A technician, working from an offline copy, adds an access note to the same job. When the device reconnects, a whole-record upload restores the old routine priority. Both people made reasonable changes; the application converted their independent actions into lost information. Faster synchronisation would reduce the opportunity for this conflict but would not remove its underlying cause. The client needs to identify the version on which its edit was based.

HTTP conditional requests offer one relevant mechanism: a client can submit a change subject to the representation still matching its earlier validator. A mismatch means the update cannot be accepted on that assumption. It does not decide what the correct business outcome should be. That decision belongs to the application, which may merge independent fields, ask a person to resolve an overlap or reject a change that is no longer permissible.

Do not merge the meaning away

Some fields can be combined without argument. A newly attached photograph and an updated contact number may coexist. Other changes express mutually exclusive decisions: cancelled and completed cannot simply be combined into a richer status. An automatic last-write rule hides this distinction. It makes network timing determine operational truth, even when the later-arriving edit was made earlier on a disconnected device. Device timestamps are insufficient when clocks can be wrong or local users can adjust them.

The conflict screen should show the relevant earlier value, the current value and the proposed change. It should not require the worker to compare two large JSON records. Nor should it discard the proposed evidence merely because the status update failed. A photograph can remain attached to an unresolved submission while the job's authoritative state waits for review. Separating evidence intake from decision acceptance reduces the risk that useful observations vanish during an otherwise correct rejection.

A useful failure is still progress

Measure how conflicts are resolved, not only how many requests return success. A visible stale-write rejection may protect the service better than a silent overwrite counted as a successful transaction. The test should include independent edits, contradictory decisions and a device reconnecting after several days. Each case needs an intelligible destination. Offline capability is credible when uncertainty survives transmission instead of being flattened into whichever message happens to arrive last.

Sources and data notes

  1. IETF — RFC 7232 — HTTP Conditional Requests2014 · Conditional requests and validators provide a protocol-level basis for detecting stale writes. Field-work consequences are the author's analysis.