﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12483	Should not silently delete layers with upload=false	naoliv	team	"I was editing some data and manually changed `upload='true'` to `upload='false'` in the osm file, to avoid uploading it unintentionally (while the tracing and everything else wasn't complete yet).

Then, I pressed `Delete`, thinking that I had one object selected, but actually had the data layer selected.
And JOSM silently deleted the layer...

JOSM should also warn that the layer has modified data, even if it has `upload='false'`.

It should, of course, not offer to upload the data, but should give a warning and option to save it, instead silently deleting the layer.

JOSM:
{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-01 23:47:27 +0100 (Mon, 01 Feb 2016)
Build-Date:2016-02-02 02:32:58
Revision:9711
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9711 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 1040 MB / 3641 MB (804 MB allocated, but free)
Java version: 1.8.0_72-internal-b15, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems foundURL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-01 23:47:27 +0100 (Mon, 01 Feb 2016)
Build-Date:2016-02-02 02:32:58
Revision:9711
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9711 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 1040 MB / 3641 MB (804 MB allocated, but free)
Java version: 1.8.0_72-internal-b15, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found
}}}"	defect	reopened	normal		Core				
