Opened 14 years ago
Closed 14 years ago
#3158 closed defect (fixed)
modify status is not removed for partial uploads
Reported by: | Apo42 | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
In case of a conflict the changeset should be closed and all successful uploads marked in Josm as not modified. currently a new version is created after conflict resolution.
this example node has multiple versions by multiple uploads
http://www.openstreetmap.org/browse/node/454193712/history
Error header: Version mismatch: Provided 1, server had: 2 of Way 10548100
GET http://api.openstreetmap.org/api/0.6/nodes?nodes=91032221,91032220,91032217,91032215,91032213,91032211,91032209,91032208,91032206,91032204,91032202,91032200,91032197
GET http://api.openstreetmap.org/api/0.6/ways?ways=10548100
Aug 2, 2009 1:37:35 PM org.openstreetmap.josm.io.OsmReader createWays
WARNING: marked way 10,548,100 with 13 nodes incomplete because at least one node was missing in the loaded data and is therefore incomplete too
PUT http://api.openstreetmap.org/api/0.6/changeset/create... OK
PUT http://api.openstreetmap.org/api/0.6/node/454193712... OK
PUT http://api.openstreetmap.org/api/0.6/way/38404452... OK
PUT http://api.openstreetmap.org/api/0.6/way/38404422... OK
PUT http://api.openstreetmap.org/api/0.6/way/10548431... OK
PUT http://api.openstreetmap.org/api/0.6/way/10548100... OK
PUT http://api.openstreetmap.org/api/0.6/way/10551917... Conflict
Error header: Version mismatch: Provided 2, server had: 3 of Way 10551917
GET http://api.openstreetmap.org/api/0.6/nodes?nodes=454201837,454201836,91069526,454201839,454201838,91069524,91069522,454201835,91056829,91069520,91069503,91069510,91069511,91069508,91069506,91069504,91069519,91069517,454201840,91069514,454201841,454201842,91069512
GET http://api.openstreetmap.org/api/0.6/ways?ways=10551917
Aug 2, 2009 1:38:24 PM org.openstreetmap.josm.io.OsmReader createWays
WARNING: marked way 10,551,917 with 23 nodes incomplete because at least one node was missing in the loaded data and is therefore incomplete too
PUT http://api.openstreetmap.org/api/0.6/changeset/create... OK
PUT http://api.openstreetmap.org/api/0.6/node/454193712... OK
PUT http://api.openstreetmap.org/api/0.6/way/38404452... OK
PUT http://api.openstreetmap.org/api/0.6/way/38404422... OK
PUT http://api.openstreetmap.org/api/0.6/way/10548431... OK
PUT http://api.openstreetmap.org/api/0.6/way/10548100... OK
PUT http://api.openstreetmap.org/api/0.6/way/10551917... OK
PUT http://api.openstreetmap.org/api/0.6/way/10548428... Conflict
Error header: Version mismatch: Provided 1, server had: 2 of Way 10548428
should be fixed in r1894