]
Manik Surtani updated ISPN-605:
-------------------------------
Fix Version/s: 4.1.0.CR3
Cannot add custom interceptor to the Cache programmatically
-----------------------------------------------------------
Key: ISPN-605
URL:
https://jira.jboss.org/browse/ISPN-605
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 4.1.0.CR2
Reporter: Jacek Gerbszt
Assignee: Manik Surtani
Priority: Minor
Fix For: 4.1.0.CR3
it's impossible to define custom interceptor this way:
Configuration config = new Configuration();
List<CustomInterceptorConfig> customInterceptors = ....;
config.setCustomInterceptors(customInterceptors);
The problem is in the class org.infinispan.config.OverrideConfigurationVisitor.
Override() method overrides everything but customInterceptorsType field. I think a single
line should solve this problem:
overrideFields(customInterceptorsType, override.customInterceptorsType);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: