Modify

Opened 3 years ago

#21303 new defect

Searching for empty role with hasRole does not work

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report search hasRole empty role Cc:

Description

What steps will reproduce the problem?

  1. Have a route relation with members with empty roles and members with role main
  2. 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

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to skyper.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.