Skip to content

Caching fixes

Daniel Gerhardt requested to merge (removed):caching-fixes into master

This PR fixes some caching bugs:

  • Cached methods have been called locally inside of CouchDBDao. The caching proxy was bypassed in these cases. All public methods (even those not involved in caching) are now called on the proxy instance. The here provided implementation is not optimal since it goes against SoC but can serve as a temporary fix. A better solution might involve AspectJ's weaving.

  • A wrong key for cache eviction has been used for NewAnswerEvent in CacheBuster.

Merge request reports