Opened 18 years ago
Closed 18 years ago
#177 closed defect (fixed)
validator: badly fixes single node segments in way
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | unspecified | Version: | latest |
Keywords: | Cc: |
Description
I don't know whether this is the right place to submit validator bugs, but I'll try anyway.
If a single node segment is part of a way the validator deletes the single node segment, but it doesn't remove it from the way. If you upload your changes they will be rejected with a 412 "precondition failed" error. As there is no undo after you started uploading your changes, parts of your changes are lost.
See attached testcase.
Attachments (1)
Change History (4)
by , 18 years ago
comment:1 by , 18 years ago
uhm, bugs in plugins aren't managed here..
Could be a nice idea however. I'll ask some plugin writer whether they want to use this site as bug tracking..
comment:2 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
the bug comes from the fact that deleting a segment with the DeleteCommand does not modify any of the ways that may contain it, and it just marks the segment as deleted.
It should be useful to have a collection of commands that does all these actions in a "black box" way, from the plugin perspective. Meanwhile, I'll fix it with a "transparent box" way (that is, I know that I must mark the segment as deleted, remove the segment from the way and replace, and if the segment is the only one in the way, remove the way... any other related effect??)
test case