[infinispan-issues] [JBoss JIRA] (ISPN-5205) CacheResult Interceptor creates wrong CacheManager
Sebastian Łaskawiec (JIRA)
issues at jboss.org
Mon Mar 30 08:39:20 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list