﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21303	Searching for empty role with hasRole does not work	skyper	team	"==== What steps will reproduce the problem?
1. Have a route relation with members with empty roles and members with role `main`
1. In Search Dialog, search for `type:relation hasRole:""main"" hasRole:""""`

==== What is the expected result?
The relation is selected

==== What happens instead?
Nothing is selected, e.g. no match found

==== Please provide any additional information below. Attach a screenshot if possible.
Surprisingly, `type:way role:""""` works as expected.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-05 22:35:08 +0200 (Sun, 05 Sep 2021)
Revision:18194
Build-Date:2021-09-05 20:36:08
URL:https://josm.openstreetmap.de/svn/trunk
}}}
"	defect	new	normal		Core	latest		template_report search hasRole empty role	
