Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11132

Formula Cache is not purged at startup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0 M3, 1.9.4
    • Fix Version/s: 6.3-milestone-1
    • Component/s: Formula
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      In commit 83f8790, on 11/8/2009 Sergiu renamed the cache id from "xwiki.plugin.equation" to "xwiki.plugin.formula" but he probably forgot to rename it in the jboss cache configuration file. On 10/10/2011 (rev 04b63f5) Thomas introduced the config.xml file for infinispan, probably coying what was in the older jboss cache, which lead to having the following:

         <!-- Equation plugin cache -->
         <namedCache name="xwiki.plugin.equation">
            <loaders>
               <loader class="org.infinispan.loaders.file.FileCacheStore" purgeOnStartup="true">
                 <!-- Let XWiki cache module set the proper location -->
               </loader>
            </loaders>
         </namedCache>
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: