Modify

Opened 8 days ago

Last modified 8 days ago

#18700 new defect

Cached OSM data when using a tasking manager

Reported by: taylor.smock Owned by: team
Priority: normal Milestone:
Component: Core Webstart Version:
Keywords: webstart, tasking manager, download, cache Cc:

Description (last modified by taylor.smock)

Steps to reproduce:
1) Start a task with a tasking manager running JOSM with Oracle java webstart (bug does not occur with non-webstart, and doesn't appear to occur with OpenWebStart)
2) Start a task with the tasking manager
3) Upload some changes
4) Delete the layer
5) Using the tasking manager, download the data again
6) Wonder why edits aren't in JOSM

I think I have a fix -- I'm checking now.

I wasn't able to verify the fix locally due to Oracle Java security issues.

Attachments (1)

18700.patch (706 bytes) - added by taylor.smock 8 days ago.
Don't cache calls to OpenStreetMap when downloading data

Download all attachments as: .zip

Change History (7)

Changed 8 days ago by taylor.smock

Attachment: 18700.patch added

Don't cache calls to OpenStreetMap when downloading data

comment:1 Changed 8 days ago by taylor.smock

Description: modified (diff)

comment:2 Changed 8 days ago by taylor.smock

The issue appears to only occur under Oracle Java Webstart (OpenWebStart didn't have the issue).

That being said, all I did was set the useCache variable to false for the HttpClient in OsmServerReader.

comment:3 Changed 8 days ago by simon04

Relates to #12235 and r9228.

taylor.smock, you're using Java 8?

comment:4 Changed 8 days ago by taylor.smock

I only observed the issue with Java 8 Webstart. I didn't do extensive testing though.

comment:5 Changed 8 days ago by Don-vip

Component: CoreCore Webstart

Don't lose too much time with this. Oracle WebStart days are counted (it's finished at the end of the year).

comment:6 in reply to:  5 Changed 8 days ago by taylor.smock

Replying to Don-vip:

Don't lose too much time with this. Oracle WebStart days are counted (it's finished at the end of the year).

It may be nearing EOL, but it is still (technically) supported by Oracle. I'll probably be posting patches for stuff that affects me, but I won't be going out of my way for it.

I'll see if I can start moving people over to OpenWebStart though. I know a few people who are on OpenWebStart, and they have only seen the certificate issue (#18390) and an issue with proxies (there is a fairly simple workaround, might be fixed in newer versions with older versions keeping current settings, workaround was opening OpenWebStart settings, going to Proxy Settings, and setting the appropriate proxy option (No Proxy in our case)).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to taylor.smock
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.