Geoff Howard wrote:

Joerg Heinicke wrote:

http://127.0.0.1:8888/samples/eventcache/
Does not work. Neither "uncache with action" (nothing happens) nor
"uncache with flow" (results in exception). This has nothing to do with
the switch from ComposerGenerator to SerializableGenerator I did a few
days ago. I didn't work before too. Must something be done before using
eventcache? As above the first link opens unnecessary (?) new windows.

Hmmm. Well, you have to include the block in the build but that should be it. I haven't checked in the last week or so but this was always working to my knowledge. I'll check into it.

OK, I've discovered this was broken by a commit by [insert Release Manager's name here :P] before the 2.1.1 release. The EventAware Cache was meant to be a Decorator around the normal CacheImpl and so was using its default role. Carsten added configurable caches to map:pipe and modified this samples' sitemap but in the refactoring neither the sample flow nor the sample action which looked up the component in the sample was modified to use the new role. I thought I had checked this after that point but apparently not as this would have been hard to miss.


I'm trying to fix it now but it doesn't seem that the cached responses are winding up in the configured cache (they're in the regular cache and aren't getting cleared). If I get it working soon I'll commit it as a bug fix. I don't think this can possibly affect anything else but if it does, just revert the change and blame [insert random committer's name here].

As a bonus to Joerg, I'm also getting rid of the new windows which really were annoying.

Geoff



Reply via email to