Modify

Opened 5 months ago

Closed 5 months ago

#16994 closed defect (fixed)

Cannot search for capital letters in saved Overpass Queries

Reported by: derickson.e@… Owned by: team
Priority: normal Milestone: 18.11
Component: Core Version:
Keywords: template_report case Cc:

Description

What steps will reproduce the problem?

  1. Enable Expert mode
  2. File > Download Data
  3. Download from Overpass API
  4. Enter a custom query
  5. Run the query
  6. File > Download Data again
  7. In Download from Overpass API, open the right sidebar
  8. Select the previous query and click the Edit selected snippet button
  9. Rename the previous query using title case, e.g. “BBox Date”
  10. Search for the newly-named query

What is the expected result?

The search results for “BBox” or “bbox” or “date” or “Date”, or any substring of those, would include the newly-named query

What happens instead?

Only lower-case letters in the query name can be searched for. “BBox” and “bbox” will not match the example query name, nor will “date” or “Date”, but “ox” and “ate” will find the example query name.

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-10-28 22:27:31 +0100 (Sun, 28 Oct 2018)
Revision:14382
Build-Date:2018-10-28 21:33:32
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (14382 en) Mac OS X 10.14.1
OS Build number: Mac OS X 10.14.1 (18B75)
Memory Usage: 3926 MB / 10240 MB (1543 MB allocated, but free)
Java version: 11.0.1+13, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: Display 722472466 2560x1440, Display 69733250 1440x900
Maximum Screen Size: 2560x1440
VM arguments: [-Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Attachments (4)

uppercase_name_uppercase_search.png (222.3 KB) - added by derickson.e@… 5 months ago.
Searching for an uppercase name with same case search
uppercase_name_lowercase_search.png (222.2 KB) - added by derickson.e@… 5 months ago.
Searching for an uppercase name with lowercase search
uppercase_name_fragment_search.png (223.4 KB) - added by derickson.e@… 5 months ago.
Searching for an uppercase name using only the lowercase fragment of the name
lowercase_name_lowercase_search.png (224.1 KB) - added by derickson.e@… 5 months ago.
Searching for a lowercase name with lowercase search

Download all attachments as: .zip

Change History (6)

Changed 5 months ago by derickson.e@…

Searching for an uppercase name with same case search

Changed 5 months ago by derickson.e@…

Searching for an uppercase name with lowercase search

Changed 5 months ago by derickson.e@…

Searching for an uppercase name using only the lowercase fragment of the name

Changed 5 months ago by derickson.e@…

Searching for a lowercase name with lowercase search

comment:1 Changed 5 months ago by Don-vip

Keywords: case added
Milestone: 18.11

comment:2 Changed 5 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 14433/josm:

fix #16994 - case-insensitive search in saved user queries

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.