﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21936	Validator show invalid syntax when using multiple suffixes in highways	angoca	team	"==== What steps will reproduce the problem?
1. We map a highway with this restriction: motor_vehicle:lanes:conditional=no|no|designated @ (Su,PH 07:00-14:00)
2. We validate, and we get the error.
3. 

==== What is the expected result?
In fact, we are using multiple suffixes, one for lanes, and one for conditional, but JOSM does not recognize this combination.

==== What happens instead?
It creates false warnings.

==== Please provide any additional information below. Attach a screenshot if possible.
We are mapping a project in Bogota, Colombia defined here: https://wiki.openstreetmap.org/wiki/Colombia/Project-Ciclov%C3%ADas

The aim of this project is to map the ciclovías, an activity where normal highways are blocked on Sunday mornings to only allow bicycle and pedestrians. This activity creates a lot of detours, turn restrictions, etc. and we want to map all of this. As part of the restrictions, in some cases, a highway has restrictions per lane, I mean in a 3 lanes highway, 2 could be for Ciclovía (bikes and people) and one still remain for cars.
{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-03-06 10:38:55 +0100 (Sun, 06 Mar 2022)
Build-Date:2022-03-07 02:31:09
Revision:18387
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18387 en) Mac OS X 10.15.7
OS Build number: Mac OS X 10.15.7 (19H1715)
Memory Usage: 1836 MB / 3641 MB (1058 MB allocated, but free)
Java version: 1.8.0_321-b07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 731408969 1920×1080 (scaling 1.00×1.00) Display 69731270 1440×900 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
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_CO
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-66159a1b, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-7a1c6b48.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm=""<java.home>/bin/java""]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35893)
+ Mapillary (2.0.0-beta.4)
+ PicLayer (1.0.2)
+ apache-commons (35893)
+ apache-http (35893)
+ buildings_tools (35916)
+ continuosDownload (99)
+ ejml (35893)
+ geotools
+ imagery-xml-bounds (35893)
+ imagery_offset_db (35893)
+ jna (35893)
+ jts (35893)
+ log4j (35893)
+ photo_geotagging (35893)
+ pt_assistant (1ff2e15)
+ tageditor (35893)
+ terracer (35893)
+ turnlanes-tagging (v0.0.5)
+ turnrestrictions (35893)
+ utilsplugin2 (35893)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/SITP-Transmilenio&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1

Validator rules:
+ https://raw.githubusercontent.com/MaptimeBogota/ColombianJosmValidator/main/Rules_Colombian-specific.validator.mapcss

Last errors/warnings:
- 21294.885 E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.</html>
- 21301.904 W: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed
- 21301.905 E: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed
- 21302.578 W: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed
- 21302.579 E: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed
- 21303.109 W: java.net.SocketException: Socket closed
- 21303.110 E: java.net.SocketException: Socket closed
- 21303.716 W: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed
- 21303.717 E: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed
- 23420.205 W: Pending errors and warnings - <html>There is still an unresolved error or warning identified for this turn restriction. You are recommended to resolve this issue first.<br>Do you want to save anyway?
}}}
"	enhancement	new	normal		Core validator			template_report	
