[infinispan-issues] [JBoss JIRA] (ISPN-9167) RemoteCacheManagerAdmin#getOrCreateCache(..., null) on a cache container which does not have default cache should fail

Radoslav Husar (Jira) issues at jboss.org
Fri Nov 22 05:13:01 EST 2019


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

Radoslav Husar updated ISPN-9167:
---------------------------------
    Affects Version/s: 9.2.3.Final


> RemoteCacheManagerAdmin#getOrCreateCache(..., null) on a cache container which does not have default cache should fail
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-9167
>                 URL: https://issues.jboss.org/browse/ISPN-9167
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Hot Rod, Server
>    Affects Versions: 9.2.3.Final
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>            Priority: Minor
>
> The current code defaults to a local cache if the default cache is not defined
> {code:java}
>   configuration = cacheManager.getDefaultCacheConfiguration();
>          if (configuration == null) {
>             configuration = new ConfigurationBuilder().build();
>          }
> {code}
> which is very unlikely it would be the intended configuration.  This should rather fail fast.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list