[MGNLCACHE-178] Incorrect location of the ehcache3 directory Created: 11/May/17  Updated: 10/Jul/17  Resolved: 07/Jul/17

Status: Closed
Project: Cache Modules
Component/s: ehcache3
Affects Version/s: 5.5.4
Fix Version/s: 5.5.5

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLCACHE-181 Update from 5.5.4 to 5.5.5 fails at e... Closed
Relates
relation
is related to MGNLCACHE-177 On Windows cache folder is not used a... Open
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
Date of First Response:
Sprint: Kromeriz 97
Story Points: 3

 Description   

magnolia-ee-test-webapp-5.5.4-SNAPSHOT/cache/-Users/romankovarik/projects/master/ee/magnolia-ee-integration-tests/magnolia-ee-test-webapp/target/magnolia-ee-test-webapp-5.5.4-SNAPSHOT-/file/

  • info.magnolia.module.cache.ehcache3.EhCache3Factory#EhCache3Factory
  • Moreover the usage of the cache manager id directory seems redundant since an ID is part of the folder name (defaultPageCache_2be127d2b81becfaaa14322fdad4d84df2ca4c9f)...collision of multiple webapps to be checked.
  • Also info.magnolia.cms.core.Path#getCacheDirectoryPath is deprecated on 5.5 branch, we should consider resolving the cache directory on our own or just add a default into the factory and drop magnolia.cache.startdir.


 Comments   
Comment by Viet Nguyen [ 07/Jul/17 ]

When something wrong happen, this error report message cannot be displayed which cause a blocker issue.

installContext.error(String.format("Can't move cache store {%s} to correct location {%s} due to {%s}. Please stop the webapp and move the directory manually.", oldDirectory, newDirectory), e);
Comment by Roman Kovařík [ 07/Jul/17 ]

Closing again, tickets which are part of a released version can't be reopened. Please create a follow up ticket.

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