﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5135	[PATCH] support undeletion without re-creating primitive with new id	Upliner	team	"While developing the reverter plugin I've encountered some problems with undeletion. First, undeleted objects treated as ""modified"" but they should be handled as added: they should be uploaded in specific order(first nodes, then ways, then relations). It's not a big problem, I've just added UploadHook that sorts modified objects before uploading. Second problem is more serious. When user undeletes some objects, then deletes undeleted objects, then uploads the dataset, JOSM sends delete command for primitives that are already deleted on the server. Currently I use a dirty hack to workaround this problem which may work wrongly in some cases.

I wrote a patch for JOSM core which will allow reverter to work without any hooks and hacks.

PS: I don't want to hear about re-creation of undeleted primitives with new ID. This will break objects history and may mislead mappers. If OSM API supports undeletion without changing the ID, we should use it."	enhancement	closed	normal		Core		fixed		
