Modify

Opened 10 years ago

Closed 10 years ago

#6405 closed defect (fixed)

[patch] wms cache accepting absolute filenames

Reported by: bilbo Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

I found that key controlling cache path have changed (now it is imagery.wms-cache.path for WMS), so I set it to the path I used previously. But in the code it is hardcoded to always create the cache directory under JOSM preferences directory (so when for example "/tmp/cache" is given, cache is created in "~/.josm/tmp/cache" instead of "/tmp/cache").

Attached patch fixes this - when absolute file path is specified, cache is created in that path correctly instead of always prefending preferences directory.

Attachments (2)

cachedir.patch (935 bytes) - added by bilbo 10 years ago.
patch to allow absolute cache path
cachedir.2.patch (1.5 KB) - added by bilbo 10 years ago.
patch to allow absolute cache path, fixed version

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by bilbo

Attachment: cachedir.patch added

patch to allow absolute cache path

Changed 10 years ago by bilbo

Attachment: cachedir.2.patch added

patch to allow absolute cache path, fixed version

comment:1 Changed 10 years ago by stoecker

Resolution: fixed
Status: newclosed

In [4108/josm]:

fix #6405 - patch by bilbo - wms cache accepting absolute filenames

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.