Modify

Opened 4 weeks ago

Closed 3 weeks ago

#15455 closed defect (fixed)

Overpass queries are not saved to preferences

Reported by: Zverikk Owned by: team
Priority: major Milestone: 17.10
Component: Core Version: tested
Keywords: overpass Cc: bafonins, GerdP

Description

  1. Open "Download data" dialog and switch to the Overpass tab.
  2. Enter a correct query and download some data.
  3. Open "Download data" dialog and check that your query has been saved as "History <date>".
  4. Close JOSM
  5. Open JOSM
  6. Open "Download data" dialog and be amazed: the query list is empty!

I've lost quite a few queries this way, so please resolve this.

Attachments (0)

Change History (5)

comment:1 Changed 4 weeks ago by Zverikk

I've updated to josm-latest and queries are not saved at all, there are no "History" items. And I'm not sure how to save the query displayed in the left pane. "+" buttons shows empty forms.

Last edited 4 weeks ago by Zverikk (previous) (diff)

comment:2 Changed 4 weeks ago by Klumbumbus

Cc: bafonins added

comment:3 Changed 4 weeks ago by Don-vip

Cc: GerdP added
Milestone: 17.10

comment:4 Changed 3 weeks ago by Don-vip

The same preference key is used for two preference entries:

        private static final StringProperty DOWNLOAD_QUERY = new StringProperty("download.overpass.query",
...
            this.overpassQueryList = new UserQueryList(this, this.overpassQuery, "download.overpass.query");

comment:5 Changed 3 weeks ago by Don-vip

Resolution: fixed
Status: newclosed

In 13051/josm:

fix #15455 - Overpass queries are not saved to preferences

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.