Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relations sometimes incorrectly marked as deleted #692

Open
b1tw153 opened this issue Nov 6, 2023 · 0 comments
Open

Relations sometimes incorrectly marked as deleted #692

b1tw153 opened this issue Nov 6, 2023 · 0 comments

Comments

@b1tw153
Copy link

b1tw153 commented Nov 6, 2023

I'm submitting a bug report

Brief Description

Sometimes OSMCha reports relations as "deleted" when the changeset has only modified the relation.

What is the current behaviour, (attach relevant screenshots) ?

I don't know how common this issue is but I have come across it in several recent changeset reviews. The "+"/"Other Features" tab for features created, deleted, and modified lists some deleted relations. But looking at the relations in OSM and reviewing the OSMChange XML for the changeset, it is clear that the changeset only modified the relations.

This makes it difficult to review changesets because it can lead to the wrong impression that something important was deleted when it was not. And it takes some extra effort to examine each relation to determine what happened.

What is the expected behaviour ?

Relations that are modified but not deleted should be listed under the "Modified Relations" category and not under the "Deleted" category in the "Other Features" tab.

When does this occur ?

I have not been able to identify the specific conditions which cause this to occur but I noticed that the bug was visible while reviewing the following changesets:

https://osmcha.org/changesets/140919220
https://osmcha.org/changesets/140919728
https://osmcha.org/changesets/140919964
https://osmcha.org/changesets/141235234

How do we replicate the issue ?

  1. Review one of the changesets listed above
  2. Select the "+" tab for "Other Features"
  3. Expand the "Deleted" category
  4. Select one of the deleted relations
  5. Open the relation in OSM and verify that it was not deleted
  6. Open the changeset in OSM
  7. Open the OSMChange XML data from OSM
  8. Review the OSMChange XML data to confirm that the relation in question was modified but not deleted

Please tell us about your environment:

Firefox 119.0 on MacOS Sonoma 14.1

Other Information / context:

Screenshot of one of the changesets showing some relations in the "Deleted" category even though the relations were modified and not deleted.

Screenshot 2023-11-06 at 8 38 45 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant