Roundup Tracker - Issues

Message7872

Author rouilj
Recipients rouilj
Date 2023-12-11.17:23:35
Message-id <1702315415.92.0.252187022228.issue2551304@roundup.psfhosted.org>
In-reply-to
It looks like the XML-RPC endpoint doesn't have collision detection. This can lead to lost
edits.

Since xml-rpc is done over http, if-match and etag headers should work to prevent this.
However any existing clients will have to be updated to use it.

I don't see anything in the xmlrpc spec that is designed to prevent this.

Possible sequence that results in lost data:


  user 1 xmlrpc display issue1 status is open
  user 2 xmlrpc display issue1 status is open
  user 2 modifies status to closed via set call
  user 1 modifies status to new via set call

user2's changes are lost.
History
Date User Action Args
2023-12-11 17:23:35rouiljsetrecipients: + rouilj
2023-12-11 17:23:35rouiljsetmessageid: <1702315415.92.0.252187022228.issue2551304@roundup.psfhosted.org>
2023-12-11 17:23:35rouiljlinkissue2551304 messages
2023-12-11 17:23:35rouiljcreate