[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: PNG File image-2022-03-17-09-14-10-205.png    
Issue Links:
Relates
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.


Generated at Mon Feb 12 01:26:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.