]
Sebastian Łaskawiec resolved ISPN-5205.
---------------------------------------
Fix Version/s: 7.2.0.CR1
Resolution: Done
CacheResult Interceptor creates wrong CacheManager
--------------------------------------------------
Key: ISPN-5205
URL:
https://issues.jboss.org/browse/ISPN-5205
Project: Infinispan
Issue Type: Bug
Components: CDI Integration
Affects Versions: 6.0.2.Final
Reporter: Bruno Palaoro
Assignee: Sebastian Łaskawiec
Priority: Critical
Fix For: 7.2.0.CR1
Attachments: infinispan-cdi.zip
If I use the CacheResult interceptor, it won't create the correct CacheManager. It
seems that it always create using the default options, it doesn't matter the
configurations I've used.
In the attached example, the items are never added to the cache I inject in the
GreetingCacheManager, seems like two different caches, one inside @CacheResult and when I
inject its another.
I've tried using the InjectCacheResult, and it solve this issue, but then another one
rises, as described in issue 5195 (
https://issues.jboss.org/browse/ISPN-5195)