Modify

Opened 11 years ago

Last modified 11 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 dieterdreist)

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:

  1. split one road (A) in 2 parts ("p")
  2. 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 dieterdreist, 11 years ago

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 ;-)

comment:2 by dieterdreist, 11 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 dieterdreist, 11 years ago

Description: modified (diff)
Keywords: resolution reference deleted object added; route relation merging removed
Priority: criticalmajor
Summary: route relations provoke conflicts when merging?conflict management and deleted nodes and ways
Type: defectenhancement

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to dieterdreist.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.