Modify

Opened 13 years ago

Closed 13 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 13 years ago.
patch to allow absolute cache path
cachedir.2.patch (1.5 KB ) - added by bilbo 13 years ago.
patch to allow absolute cache path, fixed version

Download all attachments as: .zip

Change History (3)

by bilbo, 13 years ago

Attachment: cachedir.patch added

patch to allow absolute cache path

by bilbo, 13 years ago

Attachment: cachedir.2.patch added

patch to allow absolute cache path, fixed version

comment:1 by stoecker, 13 years ago

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