Opened 15 years ago
Closed 15 years ago
#3348 closed defect (invalid)
Negating search doesn't work when searching for a key with a colon in it
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
...at least that's the case I tried out. Load up the attached .osm file and try searching for:
- "name:is"=* ==> Paris is selected
- -"name:is"=* ==> Paris is still selected even though it has a name:is key
- "name:is$": and -"name:is$": under regex search show the same problem
It's like the tag is there but for some reason JOSM doesn't notice.
Attachments (2)
Change History (6)
by , 15 years ago
Attachment: | capitals.osm added |
---|
follow-up: 3 comment:2 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Can't reproduce.
"name:is"
-> Paris is selected, as expected-"name:is"
-> Paris is not selected, as expected
Closing. Please reopen if necessary.
comment:3 by , 15 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Replying to Gubaer:
Can't reproduce.
"name:is"
-> Paris is selected, as expected-"name:is"
-> Paris is not selected, as expectedClosing. Please reopen if necessary.
Still fails for me:
- Open this file in r2021
- Search for
"name:is"
--> 30 nodes are selected, including Paris - Search for
-"name:is"
--> 171 nodes & 28 relations are selected, including Paris
When I search for -"name:is" type:node
however Paris isn't selected.
Also when I search for -"name:is"
Paris doesn't show up in the selection list. And if I delete those 171 nodes it selects Paris is left behind. But there's still a red square around it indicating selection. I tried zooming in and out to see if it was a mappaint bug but the selection box doesn't go away.
Screenshot attached.
comment:4 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
If you search for -"name:is"
it finds the relation nation ("French Republic")
. When selecting a relation the members are highlighted on the map. The node Paris
is one of the members so it seems as if it is selected.
World capitals