Modify

Opened 2 years ago

Closed 2 years ago

#6405 closed defect (fixed)

[patch] wms cache accepting absolute filenames

Reported by: bilbo Owned by: team
Priority: major 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 2 years ago.
patch to allow absolute cache path
cachedir.2.patch (1.5 KB) - added by bilbo 2 years ago.
patch to allow absolute cache path, fixed version

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by bilbo

patch to allow absolute cache path

Changed 2 years ago by bilbo

patch to allow absolute cache path, fixed version

comment:1 Changed 2 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

In [4108/josm]:

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.