#9624 closed defect (fixed)
[Patch] wrong order of deleted relations at upload
Reported by: | malenki | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.02 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Problem
JOSM doesn't create a sensible order at upload of relations to be deleted.
How users are affected
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.>
Attachments (2)
Change History (9)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Reported it there - and it got "solved" quite speedily: https://github.com/openstreetmap/openstreetmap-website/issues/688
by , 11 years ago
Attachment: | 9624.patch added |
---|
comment:3 by , 11 years ago
Milestone: | → 14.02 |
---|---|
Summary: | wrong order of deleted relations at upload → [Patch] wrong order of deleted relations at upload |
We fix JOSM's upload ordering – patch attached.
by , 11 years ago
Attachment: | 9624_v2.patch added |
---|
In my opinion, the OSM API (project at https://github.com/openstreetmap/openstreetmap-website) should take care of this situation.