You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: woodpeck [Submitted to the original trac issue database at 11.33am, Tuesday, 3rd July 2012]
An attempt to remove all members from a relation (by uploading a new version with no members) results in no change - the relation will be updated with a new version and new user/last modification data, but it will still have all its members.
Simple test case (modify object/changeset IDs accordingly):
Reporter: woodpeck
[Submitted to the original trac issue database at 11.33am, Tuesday, 3rd July 2012]
An attempt to remove all members from a relation (by uploading a new version with no members) results in no change - the relation will be updated with a new version and new user/last modification data, but it will still have all its members.
Simple test case (modify object/changeset IDs accordingly):
later
this results in
but the relation is unchanged!
It is possible that the bug is related to the "unless members" https://github.com/openstreetmap/openstreetmap-website/blob/master/app/models/relation.rb#L164 but I cannot say for sure.
The bug can be circumvented by deleting a relation (which will clear the member list) and then undeleting it through a .
Relations without members should be allowed even though their uses are probably niche cases.
The text was updated successfully, but these errors were encountered: