arturobernalg opened a new pull request, #642:
URL: https://github.com/apache/jspwiki/pull/642

   The caching manager used the CacheManager singleton of Ehcache, so every 
engine of the same class loader shared the caches of the others, and shutting 
down one engine shut them down for all.
   
   A page saved by an engine that is still running, like the one in ImageTest, 
showed up in the search results of another engine. This is what made 
SearchManagerTest and PageRenamerTest fail at random (JSPWIKI-1371). I 
reproduced it: a second engine listed the pages of the first one.
   
   Each caching manager now creates and shuts down a cache manager of its own.
   
   A new test in EhcacheCachingManagerTest fails without the change (expected 
null but was the content of the other manager) and passes with it. The test 
suites of jspwiki-cache and jspwiki-main pass (1169 tests in jspwiki-main).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to