﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21904	[Patch] Pasting a changeset URL causes the changeset's objects and their histories to be downloaded	aceman	team	"Hi, I have noticed a very dangerous scenario while editing in JOSM:

1. Have some data for editing in a layer in JOSM
2. Get some changeset URL, e.g. by showing history of an object (Ctrl-H) and right click on the changeset of the last change on the object
3. Now you have the changeset URL in the clipboard and can paste to your browser or so.
4. However, if you by mistake paste this into JOSM (Ctrl+V or Ctrl+Shift+V) [e.g. thinking you have some other tags/object in the clipboard from previous editing], JOSM does start to load the changeset and seems to do some operation on it. I is not just loading the data from it (maybe it is), as trying to upload the layer now causes objects from the changeset to be uploaded with changes and gets conflicts from the server, which has newer versions of the objects.

Whether the changeset is reverted to before the changeset, or just the objects are restored to the versions from the changeset I don't know. But this must not happen as it mixes the changeset into your current work and then it is impossible to restore the layer to only your changes and not these unintended changes. The whole layer has to be cancelled and work is lost.

Can anything be done with this? If this is intentional behaviour can at least a dialog warn about it?
Thanks"	enhancement	closed	normal	26.03	Core	tested	fixed	changeset url download layer	
