[DOCU-2412] Documentation for magnolia.cache.manager.id is incorrect Created: 09/Mar/22 Updated: 17/Mar/22 Resolved: 16/Mar/22 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Rico Jansen | Assignee: | Martin DrĂ¡pela |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Description |
|
In https://docs.magnolia-cms.com/product-docs/6.2/Modules/List-of-modules/Cache-modules/Ehcache-3-module.html#_disk_storage_location it is stated that magnolia.cache.manager.id is by default magnolia.app.rootdir but that is not the case it is empty. This would create very deep directories as the cache directory is stated to be ${magnolia.cache.startdir}/${magnolia.cache.manager.id}. Which is also incorrect as it is ${magnolia.cache.startdir}${magnolia.cache.manager.id} There is no slash in there, see: info.magnolia.module.cache.ehcache3.EhCache3Factory#resolveDiskStorePath I also don't think that diskStorePath can be set from jcr. In EhCache3Factory it seems to be purely configured from the magnolia properties. |