Opened 14 years ago

Closed 14 years ago

#3753 closed defect (fixed)

Merging the ends of two node ways produces corrupt way

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: merge, delete Cc:


Trying to reproduce a bug related to merging nodes or ways sometimes not triggering the merge dialog and instead just taking the tag set of one of the nodes (possibly fixed already), I stumbled on a different issue:

  1. draw a way with two nodes (press "a", click two times in different places)
  2. select the two end nodes
  3. "m" to merge them

Previously I believe the way would be deleted automatically but now it stays and contains one valid and one deleted node.

Attachments (0)

Change History (3)

comment:1 by Gubaer, 14 years ago

Resolution: fixed
Status: newclosed

(In [2315]) fixed #3753: Merging the ends of two node ways produces corrupt way
Also extended help information. See help

comment:2 by bastiK, 14 years ago

Resolution: fixed
Status: closedreopened

The fix broke the merging tool

(Fails for any two nodes)

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_16-b02 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 2331 SVN
Main-Date: 2009-10-27T13:51:46.319579Z
Memory Usage: 97 MB / 396 MB (22 MB allocated, but free)
Java version: 1.6.0_14

Plugins: openstreetbugsslippymapvalidatorwmsplugin
Plugin openstreetbugs Version: 18291
Plugin slippymap Version: 17822
Plugin validator Version: 18197
Plugin wmsplugin Version: 17817

	at java.util.HashMap$HashIterator.nextEntry(
	at java.util.HashMap$
	at org.openstreetmap.josm.command.DeleteCommand.description(
	at org.openstreetmap.josm.command.SequenceCommand.description(
	at org.openstreetmap.josm.gui.dialogs.CommandStackDialog.buildList(
	at org.openstreetmap.josm.gui.dialogs.CommandStackDialog.commandChanged(
	at org.openstreetmap.josm.actions.MergeNodesAction.actionPerformed(
	at javax.swing.SwingUtilities.notifyAction(
	at javax.swing.JComponent.processKeyBinding(
	at javax.swing.KeyboardManager.fireBinding(
	at javax.swing.KeyboardManager.fireKeyboardAction(
	at javax.swing.JComponent.processKeyBindingsForAllComponents(
	at javax.swing.JComponent.processKeyBindings(
	at javax.swing.JComponent.processKeyEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.KeyboardFocusManager.redispatchEvent(
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

comment:3 by Gubaer, 14 years ago

Resolution: fixed
Status: reopenedclosed

(In [2333]) fixed #3753: Merging the ends of two node ways produces corrupt way

Modify Ticket

Change Properties
Set your email in Preferences
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.