[infinispan-issues] [JBoss JIRA] (ISPN-5205) CacheResult Interceptor creates wrong CacheManager

Galder Zamarreño (JIRA) issues at jboss.org
Tue Mar 24 12:29:19 EDT 2015


     [ https://issues.jboss.org/browse/ISPN-5205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño reassigned ISPN-5205:
--------------------------------------

    Assignee: Sebastian Łaskawiec


> 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
>         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