[openstreetmap-website] unsorted relations-to-delete cause "precondition failed" at upload (#688)

malenki notifications at github.com
Tue Jan 28 19:08:27 UTC 2014


This problem occurs when cleaning up relations by deleting nested relations.
Example: deleting all three: a relation C that contains a relation B that contains a relation A
JOSM does order arrange the order of to-be-deleted relations by alphabet.
This is a problem since now JOSM uploads deleted relation A first but assumes/gets told by the server relation B and C are still existing so returns with
''Precondition failed: The relation $number_of_A is used in relation $number_of_B.''

(originates from this bug filed against JOSM: http://josm.openstreetmap.de/ticket/9624)

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/688
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140128/1920de5e/attachment.html>


More information about the rails-dev mailing list