Opened 13 years ago
Last modified 13 years ago
#8085 new enhancement
conflict management and deleted nodes and ways
Reported by: | dieterdreist | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | conflict resolution reference deleted object | Cc: |
Description (last modified by )
There appears to be something wrong in JOSM latest, I am not completely sure, what but I am quite sure that this is a degradation of something which worked before.
given: two roads with some bus routes on them, where road A stops the road B starts (i.e. they are continuous)
What I did:
- split one road (A) in 2 parts ("p")
- recombine the piece of A with the rest of B ("c").
I got a window asking me about one conflicting tag (the street name), no surprise because this was the reason for my edit, so I correct it from the suggested "A;B" to "B" and continue.
Now I try to upload. Message: "uploading failed because of a conflict", what do you want to do? (I do "synchronize whole dataset").and it turns out that 16 conflicts are reported, all happen to have to do with this routes. I go to conflict resolution and choose 16 times "my version". On the next upload try I get this: "Uploading to the server failed because your current dataset violates a precondition. The error message is: ResponseCode=412, Error Header=<Precondition failed: Relation with id 2437875 cannot be saved due to Way with id 183155622>"
Maybe JOSM could also check (on demand) when resolving conflicts whether conflicting elements have been deleted on the server? (This will not eliminate all similar problems, but a fair amount of them, if the mapper acts fast).
Attachments (0)
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Maybe in addition to the message ("Uploading to the server failed because your current dataset violates a precondition. The error message is: ResponseCode=412, Error Header=<Precondition failed: Relation with id 2437875 cannot be saved due to Way with id 183155622>") there could also be an enhancement to suggest how to deal with this, e.g. "Do you want to remove all references to the way with id 183155622 from the current dataset?" (this could also be accompagnied by an info screen, where this way/node/relation is referenced from).
comment:3 by , 13 years ago
Description: | modified (diff) |
---|---|
Keywords: | resolution reference deleted object added; route relation merging removed |
Priority: | critical → major |
Summary: | route relations provoke conflicts when merging? → conflict management and deleted nodes and ways |
Type: | defect → enhancement |
I have now seen that there really was a conflicting edit on this relation (2437875) , couldn't believe it, because I was editing in a almost deserted zone where there was no substantial edit in the past 4 years ;-)