Opened 15 years ago
Closed 15 years ago
#4675 closed defect (fixed)
[PATCH] conflict solution: deleting node and undo, does not render way right.
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | conflict undo delete node | Cc: |
Description
HI
Thanks for your work. We are getting there !!!
I have a conflict on node, It is "not on server".
This node is member of a way.
If I solve the conflict by deleting the node on my data and afterwards choose undo. The node reappears as "lonely" node instead of member of the way.
I do not know if this is just a render issue or if it is a data issue.
Attachments (1)
Change History (11)
follow-up: 2 comment:1 by , 15 years ago
Priority: | critical → blocker |
---|
comment:2 by , 15 years ago
Replying to skyper:
I came across this bug again, and this time it led to inconsistant data.
Sorry:
Accidently, I deleted a node which belonged to another way with only to two nodes. The way was not deleted and validator reported it as a way with only one node. There was no way of retrieving this way and trying to connect a new way to it led to an exception.
comment:3 by , 15 years ago
Priority: | blocker → normal |
---|
comment:4 by , 15 years ago
Priority: | normal → critical |
---|
Any chance to fix it ?
It is deleting data and no possibility to undo.
comment:5 by , 15 years ago
I've made the patch to fix this issue: http://gist.github.com/441223 (I've tried to attach it here, but encoutered internal Trac error, see here: http://gist.github.com/441239).
In future I want to change the conflict system and fully get rid of PurgePrimitivesCommand and UndeletePrimitivesCommand.
comment:6 by , 15 years ago
Summary: | conflict solution: deleting node and undo, does not render way right. → [PATCH] conflict solution: deleting node and undo, does not render way right. |
---|
comment:8 by , 15 years ago
Error is:
"UnboundLocalError: local variable 'content' referenced before assignment"
I'd put error details in the gist.
comment:10 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I came across this bug again, and this time it led to inconsistant data.
Accidently, I deleted a node which belong to another way with only to nodes. The way was not deleted and validator reported it as a way with only one node. There was no way of retrieving this way and trying to connect a new way to it led to an exception.