]
Work on ISPN-9167 stopped by Radoslav Husar.
--------------------------------------------
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.