﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18106	Unexpected results from UnconnectedWays	GerdP	team	"==== What steps will reproduce the problem?
1. Load attached file uncon3.osm
2. Run validator
3. Note that you get only one warning ""Way end node near other highway (1)"" for the topmost node
4. Revert the direction of the residential road or remove the node in the lower left or the next one or both 
5. Run validator again for each case, note that now no warning is produced

==== What is the expected result?
Same number of warnings in all cases, not sure if 0 or 2
==== What happens instead?
One or no warning depending on direction or nodes which are far from the problem case.
==== Please provide any additional information below. Attach a screenshot if possible.
Problem is caused by an error in Node.isConnectedTo() which doesn't seem to do what the comment says. The result depends on the number of ways and the direction.
 
{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019)
Build-Date:2019-08-26 06:57:10
Revision:15322
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15322 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1903 (18362)
Memory Usage: 645 MB / 1820 MB (125 MB allocated, but free)
Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-XX:StartFlightRecording=name=MyRecording2,settings=d:\dbg\gerd.jfc, -XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true,dumponexitpath=e:\ld\perf_20190903_155936.jfr]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (34977)
+ apache-commons (34908)
+ buildings_tools (34982)
+ continuosDownload (82)
+ ejml (35049)
+ geotools (34908)
+ jaxb (35014)
+ jts (35064)
+ o5m (34908)
+ opendata (35102)
+ pbf (35033)
+ poly (34991)
+ reverter (35084)
+ undelete (34977)
+ utilsplugin2 (35098)

Validator rules:
+ c:\josm\core\data\validator\geometry.mapcss

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
}}}
"	defect	closed	normal	19.09	Core validator		fixed	template_report	
