[MGNLCACHE-177] On Windows cache folder is not used and a new one is created instead Created: 11/May/17  Updated: 24/Mar/22

Status: Open
Project: Cache Modules
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLCACHE-178 Incorrect location of the ehcache3 di... Closed
is related to MGNLCACHE-181 Update from 5.5.4 to 5.5.5 fails at e... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

On Windows a "cacheC" folder is created and used instead of the predefined "cache" folder. This may be related to an issue in info.magnolia.cms.core.Path#getCacheDirectory. Caching functionality should not be affected anyway.

The odd folder name may be due to C referring to C: drive in Windows. Then the subfolders basically mirror the absolute path to the web app. e.g. suppose the web app is under c:\\foo\apache-tomcat\webapps\magnolia-webapp then the cache folder structure is something like cacheC\foo\apache-tomcat\magnolia-webapp.


Generated at Sun Feb 11 23:52:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.