﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19151	Wrong query generated by overpass query wizard	GerdP	team	"==== What steps will reproduce the problem?
1. Use wizard with `type:relation and type=multipolygon and landuse!=* and ""area:highway""!=*`
==== What is the expected result?
Something equivalent to this
...
`relation[""type""=""multipolygon""][""landuse""!~"".*""][""area:highway""!~"".*""];`
...
==== What happens instead?
`relation[""type""=""multipolygon""][""landuse!""]/*area:highway*/[""!""];`
==== Please provide any additional information below. Attach a screenshot if possible.
I understand that the JOSM wizard uses different syntax but it is very hard to find out when there is no error message and you find the old query in the dialog history. 

{{{
Build-Date:2020-04-25 11:49:05
Revision:16378
Is-Local-Build:true

Identification: JOSM/1.5 (16378 SVN en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1903 (18362)
Memory Usage: 1591 MB / 3641 MB (394 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:55899, -ea, -Dfile.encoding=UTF-8]
Program arguments: [--debug]

Plugins:
+ OpeningHoursEditor (35414)
+ PolygonCutOut (v0.7)
+ apache-commons (35362)
+ buildings_tools (35405)
+ continuosDownload (91)
+ ejml (35313)
+ geotools (35169)
+ jaxb (35092)
+ jts (35122)
+ merge-overlap (35248)
+ o5m (35248)
+ opendata (35405)
+ pbf (35248)
+ poly (35248)
+ reverter (35409)
+ undelete (35405)
+ utilsplugin2 (35405)

Last errors/warnings:
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: area:highway
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: building
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: building:part
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: area:highway
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: building
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: building:part
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: area:highway
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: area:highway
- E: org.openstreetmap.josm.tools.UncheckedParseException: java.lang.UnsupportedOperationException: !area:highway. Cause: java.lang.UnsupportedOperationException: !area:highway
- W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Any: area:highway
}}}
"	defect	new	normal		Core			template_report overpass query wizard	
