Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2412

Documentation for magnolia.cache.manager.id is incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdrapela Martin Drápela
              rico.jansen Rico Jansen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR