﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3139	version conflict handling is broken	Apo42	team	"Josm stops with error on upload if a version conflict is detected. 

PUT http://api.openstreetmap.org/api/0.6/relation/181794... Conflict
Error header: Version mismatch: Provided 1, server had: 2 of Relation 181794
java.lang.IllegalArgumentException: parameter id > 0 required. Got 0.
	at org.openstreetmap.josm.data.osm.DataSet.getPrimitiveById(DataSet.java:319)
	at org.openstreetmap.josm.actions.UpdateSelectionAction.updatePrimitive(UpdateSelectionAction.java:166)
	at org.openstreetmap.josm.actions.UploadAction$UpdatePrimitiveTask.realRun(UploadAction.java:531)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:62)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:637)


But the action=modify is not removed from all objects succesfully uploaded before the conflict. the next upload trial will update all these changes again and add a new obsolete version




"	defect	closed	major		Core	latest	fixed	conflict upload	
