[MAGNOLIA-2104] cache: ehcache ignores the configured cache directory Created: 09/Apr/08 Updated: 23/Jan/13 Resolved: 03/Jul/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | cache |
| Affects Version/s: | 3.5.4 |
| Fix Version/s: | 3.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Philipp Bärfuss | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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: | |||||||||
| Description |
|
Even if the cache itself is configured properly the configuration of the storePath is overwritten by the ehcache's CacheManager in the moment when we add the cache to the manager. The rest of the configuration not overwritten. The reason is that the cache manager is initialized by using default configuration. |
| Comments |
| Comment by Philipp Bracher [ 09/Apr/08 ] |
|
I also noticed that the cache name is empty so the cache manger has at the end two caches, the one we provide with empty name and the default cache. |
| Comment by Magnolia International [ 14/May/08 ] |
|
to be verified - but should work now. |
| Comment by Philipp Bracher [ 03/Jul/08 ] |
|
uses the magnolia property (as in former versions) |