Modify

Opened 5 years ago

Closed 4 years ago

#18700 closed defect (wontfix)

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 5 years ago.
Don't cache calls to OpenStreetMap when downloading data

Download all attachments as: .zip

Change History (9)

by taylor.smock, 5 years ago

Attachment: 18700.patch added

Don't cache calls to OpenStreetMap when downloading data

comment:1 by taylor.smock, 5 years ago

Description: modified (diff)

comment:2 by taylor.smock, 5 years ago

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 by simon04, 5 years ago

Relates to #12235 and r9228.

taylor.smock, you're using Java 8?

comment:4 by taylor.smock, 5 years ago

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

comment:5 by Don-vip, 5 years ago

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).

in reply to:  5 comment:6 by taylor.smock, 5 years ago

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)).

comment:7 by taylor.smock, 5 years ago

Should I close this as wontfix?

comment:8 by Don-vip, 4 years ago

Resolution: wontfix
Status: newclosed

Yep. Going to ask all WebStart users to switch to OpenWebStart now that I fixed the only blocking issue so far: #18737

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. Next status will be 'reopened'.

Add Comment


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