-
Bug
-
Resolution: Done
-
Major
-
RHDG 8.3.1 GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
If a cache has a value media-type not convertable to JSON, a REST call to retrieve keys gets an exception.
Caused by: org.infinispan.commons.dataconversion.EncodingException: ISPN000492: Cannot find transcoder between 'application/json' to 'application/xml'
This is because of org.infinispan.rest.resources.CacheResourceV2#streamKeys:
Cache<?, ?> cache = invocationHelper.getRestCacheManager().getCache(cacheName, APPLICATION_JSON, APPLICATION_JSON, request);
It does not use the value, so there is no reason to require it to be convertable to JSON.
- is cloned by
-
ISPN-14100 REST keys operation cache value should match all
- Closed