Modify

Opened 16 years ago

Closed 16 years ago

#2648 closed enhancement (fixed)

When adding object to a relation, show a warning if it's already a member of it.

Reported by: Ldp Owned by: team
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc: Gubaer

Description

Since we can now have multiple occurences of the same node/way/relation as a member of a relation, it's very easy to erroneously add duplicate entries. When removing the duplicate, in case this was a mistake, all occurences of that member are removed from the relation. This shouldn't be done, and it's counter-intuitive as well.

Either remove only the entry that's selected, or at least ask the user "This member is in the relation more than once. Do you want to remove just this one, or all of them?"

Also, but this is more of an enhancement, but still very related: when adding a something that's already in the list, make that fact known to the user. "This node/way/relation is already a member. Do you want to add it again?"

Attachments (0)

Change History (2)

comment:1 by Teemu Koskinen <teemu.koskinen@…>, 16 years ago

Priority: majorminor
Summary: Relation editor: removing a duplicate member removes all occurences of that memberWhen adding object to a relation, show a warning if it's already a member of it.
Type: defectenhancement

Use the "Remove" button, not the "Remove selected". "Remove" only removes those occurences that are selected in the relation editor, "Remove selected" removes all occurences of Selected (on the main interface, yes it's a bit confusedly named..) items from the relation.

comment:2 by Gubaer, 16 years ago

Cc: Gubaer added
Resolution: fixed
Status: newclosed

Since r1806 you duplicate entries in the member list are rendered in another color.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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