﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23252	[patch] Ignore line_management=transition|termination in UnconnectedPower test	gaben	team	"==== What steps will reproduce the problem?
1. Load the test file
2. Validate the data

==== What is the expected result?
No warning, as the end nodes are not meant to be directly connected

==== What happens instead?
Three warnings.

==== Please provide any additional information below. Attach a screenshot if possible.
[osmwiki:Key:line_management]
{{{#!patch
Index: src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
===================================================================
--- src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java       (revision 18882)
+++ src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java       (working copy)
@@ -201,7 +201,7 @@
 
         @Override
         protected boolean ignoreUnconnectedEndNode(Node n) {
-            return n.hasTag(""power"", ""terminal"") || n.hasTag(""location:transition"", ""yes"");
+            return n.hasTag(""power"", ""terminal"") || n.hasTag(""location:transition"", ""yes"") || n.hasTag(""line_management"", ""transition"", ""termination"");
         }
     }
}}}



{{{
Revision:18882
Is-Local-Build:true
Build-Date:2023-10-29 20:41:39
}}}
"	defect	new	minor	23.10	Core			template_report power	francois.lacombe
