Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#13060 closed defect (duplicate)

No members can be added to copied relations

Reported by: malenki Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report relation_editor Cc:

Description

What steps will reproduce the problem?

  1. Have a relation at hand
  2. Make a copy of it using the button for that task in the relation list
  3. Click "OK" in the window showing up (for better distinction you may give that new relation a different name from the original one).
  4. Deselect any object
  5. Open the relation editor for that copied relation
  6. Select an object you want to add to that relation
  7. Click one of the buttons in the relation editor to add the selected object to the relation.

What is the expected result?

The selected object gets added to the relation.

What happens instead?

  1. On opening the copied relation in the relation editor, the members of it are shown as selected although no object is selected in the main editor window.
  2. After selecting an object and clicking to add it to the relation the warning shows up, that the user tries to add objects to the relation which are already member of it.

3.1. When the user chooses not to add the objects which are already member by clicking "no", no members get added to the relation
3.2. When the user chooses to add the objects which are already member by clicking "yes", only the objects already being members get added to the relation.

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-24 01:49:51 +0200 (Fri, 24 Jun 2016)
Build-Date:2016-06-24 01:34:30
Revision:10473
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10473 de) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 419 MB / 2222 MB (253 MB allocated, but free)
Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Dsun.java2d.opengl=false]
Dataset consistency test: No problems found


Last errors/warnings:
- W: Datei <josm.pref>/cache/tiles/TMS_INDEX_v2.data kann nicht gelöscht werden
- E: java.lang.IllegalArgumentException: Listener was not registered before: org.openstreetmap.josm.actions.ZoomToAction@3f326763
- E: java.lang.IllegalArgumentException: Listener was not registered before: org.openstreetmap.josm.actions.ZoomToAction@5f13d8e8
- W: Ungespeicherte Änderungen - <html>Die Relation wurde geändert.<br><br>Wollen Sie die Änderungen speichern?</html>
- E: java.lang.IllegalArgumentException: Attempted to remove listener that was not in list: org.openstreetmap.josm.gui.dialogs.relation.SelectionTableModel@47612e25

Attachments (0)

Change History (2)

comment:1 by malenki, 9 years ago

Resolution: fixed
Status: newclosed

Obviously this issue got fixed with the latest patches.

comment:2 by Don-vip, 9 years ago

Resolution: fixedduplicate

dupe of #13164

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.