﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8711	Exception when send data (DataIntegrityProblemException)	Manu1400	Manu1400	" 1. Use overpass-api.de with Taginfo for download data
 2. if a closed way is in the data, JOSM download ways who used the closed way
 3. delete the closed way (the other way are conserved)
 4. send data to OpenStreetMap

What is the expected result?
Exception when the closed way is send. (Exception when JOSM send 5/11 request)
After send, JOSM propose to resolve confict.

What happens instead?
See screenshoots. Note : I have move a window.

It is the first time when i have this bug, and i use often JOSM.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-05-08 01:34:29
Last Changed Author: stoecker
Revision: 5939
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-05-07 14:05:08 +0200 (Tue, 07 May 2013)
Last Changed Rev: 5939

Identification: JOSM/1.5 (5939 fr) Windows 7 64-Bit
Memory Usage: 247 MB / 247 MB (1 MB allocated, but free)
Java version: 1.7.0_17, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.policy=file:C:\Program Files (x86)\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=C:\Program Files (x86)\Java\jre7\bin, -Djnlpx.origFilenameArg=C:\Users\Emmanuel\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\73111055-753249a5, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files (x86)\Java\jre7\lib\javaws.jar;C:\Program Files (x86)\Java\jre7\lib\deploy.jar;C:\Program Files (x86)\Java\jre7\lib\plugin.jar, -Djnlpx.splashport=49218, -Djnlp.application.href=http://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=C:\Program Files (x86)\Java\jre7\bin\javaw.exe, -Djnlpx.vmargs=-Djnlp.application.href=http://josm.openstreetmap.de/download/josm.jnlp]
Dataset consistency test: No problems found

Plugin: FastDraw (29532)
Plugin: OpeningHoursEditor (29435)
Plugin: geotools (29435)
Plugin: jts (29435)
Plugin: opendata (29505)
Plugin: reverter (29561)
Plugin: scripting (30300)
Plugin: utilsplugin2 (29435)

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Way id=221268918 version=1 MVT nodes=[{Node id=758907667 version=1 V lat=35.352006,lon=-119.1239617}, {Node id=758849005 version=1 V lat=35.3520812,lon=-119.1239627}, {Node id=758857455 version=1 V lat=35.352115,lon=-119.123973}, {Node id=758904754 version=1 V lat=35.352255,lon=-119.1239818}, {Node id=758826735 version=1 V lat=35.3522532,lon=-119.1240077}, {Node id=758873625 version=1 V lat=35.3522461,lon=-119.1240467}, {Node id=758838524 version=1 V lat=35.3522385,lon=-119.1240807}, {Node id=758875306 version=1 V lat=35.3522315,lon=-119.1241105}, {Node id=758847576 version=1 V lat=35.3522251,lon=-119.1241337}, {Node id=758828036 version=1 V lat=35.352219,lon=-119.1241498}, {Node id=758849229 version=1 V lat=35.3522145,lon=-119.1241586}, {Node id=758828516 version=1 V lat=35.3522048,lon=-119.1241842}, {Node id=758822057 version=1 V lat=35.3521981,lon=-119.1242029}, {Node id=758843597 version=1 V lat=35.3521871,lon=-119.1242284}, {Node id=758912216 version=1 V lat=35.3521744,lon=-119.1242552}, {Node id=758869623 version=1 V lat=35.3521544,lon=-119.1242848}, {Node id=758898849 version=1 V lat=35.3521314,lon=-119.1243134}, {Node id=758882184 version=1 V lat=35.3521085,lon=-119.12434}, {Node id=758867052 version=1 V lat=35.3520822,lon=-119.1243659}, {Node id=758857220 version=1 V lat=35.3520553,lon=-119.1243877}, {Node id=758891917 version=1 V lat=35.3520252,lon=-119.1244032}, {Node id=758817987 version=1 V lat=35.3520075,lon=-119.1244126}, {Node id=758867882 version=1 V lat=35.351991,lon=-119.1244228}, {Node id=758911337 version=1 V lat=35.3519603,lon=-119.1244369}, {Node id=758832279 version=1 V lat=35.3519336,lon=-119.1244448}, {Node id=758910686 version=1 V lat=35.3518989,lon=-119.1244527}, {Node id=758907469 version=1 V lat=35.3518757,lon=-119.1244558}, {Node id=758909764 version=1 V lat=35.3518649,lon=-119.1244577}, {Node id=758869298 version=1 V lat=35.3518575,lon=-119.1244569}, {Node id=758883313 version=1 V lat=35.3518494,lon=-119.1242915}, {Node id=758834204 version=1 V lat=35.351843,lon=-119.1242541}, {Node id=758871092 version=1 V lat=35.351841,lon=-119.1241586}, {Node id=758842976 version=1 V lat=35.3518569,lon=-119.1241547}, {Node id=758885320 version=1 V lat=35.3518733,lon=-119.1241535}, {Node id=758902791 version=1 V lat=35.3518927,lon=-119.1241483}, {Node id=758906233 version=1 V lat=35.3519143,lon=-119.1241361}, {Node id=758882999 version=1 V lat=35.351936,lon=-119.1241205}, {Node id=758850523 version=1 V lat=35.3519537,lon=-119.1241014}, {Node id=758900438 version=1 V lat=35.3519715,lon=-119.1240767}, {Node id=758867436 version=1 V lat=35.3519842,lon=-119.1240527}, {Node id=758837655 version=1 V lat=35.3519947,lon=-119.1240238}, {Node id=758912956 version=1 V lat=35.3520041,lon=-119.1239873}, {Node id=758907667 version=1 V lat=35.352006,lon=-119.1239617}]}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:333)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:947)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:968)
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.selectionChanged(PropertiesDialog.java:630)
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.updateSelection(PropertiesDialog.java:522)
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.processDatasetEvent(PropertiesDialog.java:712)
	at org.openstreetmap.josm.data.osm.event.DataSetListenerAdapter.dataChanged(DataSetListenerAdapter.java:23)
	at org.openstreetmap.josm.data.osm.event.DataChangedEvent.fire(DataChangedEvent.java:26)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager.fireConsolidatedEvents(DatasetEventManager.java:124)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager.access$300(DatasetEventManager.java:27)
	at org.openstreetmap.josm.data.osm.event.DatasetEventManager$1.run(DatasetEventManager.java:194)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
...<snip>...

}}}"	defect	closed	normal		Core		duplicate	template_report exception	
