﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22142	Validator should not show an error message for restriction:<transport mode> relations	dafadllyn	team	"==== What steps will reproduce the problem?
1. Create a `restriction:<transport mode>` relation (e.g. `restriction:bicycle=no_right_turn`).
2. Click on ""Upload data"".

==== What is the expected result?
No error should be shown.

==== What happens instead?
The validator shows an ""Unknown turn restriction"" error for the created relation.

==== Please provide any additional information below. Attach a screenshot if possible.

`restriction:<transport mode>` relation are documented on https://wiki.openstreetmap.org/wiki/Relation:restriction.

{{{
Revision:18463
Build-Date:2022-05-30 10:26:29

Identification: JOSM/1.5 (18463 en) Mac OS X 10.13.6
OS Build number: Mac OS X 10.13.6 (17G14042)
Memory Usage: 1024 MB / 1024 MB (422 MB allocated, but free)
Java version: 17.0.3+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69677504 1280×800 (scaling 1.00×1.00)
Maximum Screen Size: 1280×800
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_CH
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18463, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ reverter (35972)
+ undelete (35893)
+ utilsplugin2 (35970)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Osmc&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksPlus&zip=1

Last errors/warnings:
- 00412.277 W: No default layer selected, choosing first layer.
- 01384.105 W: No default layer selected, choosing first layer.
- 01405.273 W: No default layer selected, choosing first layer.
}}}
"	defect	closed	normal		Core validator	tested	duplicate	template_report	
