Modify ↓
#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?
- Have a relation at hand
- Make a copy of it using the button for that task in the relation list
- Click "OK" in the window showing up (for better distinction you may give that new relation a different name from the original one).
- Deselect any object
- Open the relation editor for that copied relation
- Select an object you want to add to that relation
- 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?
- 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.
- 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)
Note:
See TracTickets
for help on using tickets.
Obviously this issue got fixed with the latest patches.