[Potlatch-dev] [OpenStreetMap] #3389: On error when saving, Potlatch sometimes duplicates ways and nodes

OpenStreetMap trac at openstreetmap.org
Sun Feb 27 12:47:12 GMT 2011


#3389: On error when saving, Potlatch sometimes duplicates ways and nodes
------------------------+---------------------------------------------------
  Reporter:  hyrava     |       Owner:  potlatch-dev@…                
      Type:  defect     |      Status:  closed                        
  Priority:  major      |   Milestone:                                
 Component:  potlatch2  |     Version:                                
Resolution:  wontfix    |    Keywords:                                
------------------------+---------------------------------------------------
Changes (by Richard):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Of course this is going to happen. If you save a way with id -1, P2 will
 (rightly) send a 'create' action as part of the diff upload. If the diff
 result is then not received, for whatever reason, P2 doesn't know that the
 object has been created. So on next upload, it will try again. The same
 would be true for P1 or indeed any client.

 This is most probably an API, server or connectivity issue, not a P2
 issue. Failing a really revolting hack (e.g. examining all ways/nodes with
 the lat, long and tags we were trying to upload, and getting their ids -
 which we simply won't do) then it needs to be addressed at the appropriate
 level.

-- 
Ticket URL: <http://trac.openstreetmap.org/ticket/3389#comment:3>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Potlatch-dev mailing list