Radim Vansa created ISPN-5950:
---------------------------------
Summary: Parser sets transaction().useSynchronization to non-default value
Key: ISPN-5950
URL:
https://issues.jboss.org/browse/ISPN-5950
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 8.0.1.Final
Reporter: Radim Vansa
Default value for transaction().useSynchronization() is false, so when the configuration
is build programmatically, it is set to false. However, if I configure a non-transactional
cache in XML and read the configuration, it is set to true.
This complicates testing, when I want to compare programmatic and XML configurations, and
generally it is inconsistent.
When doing equals() operation on configurations. transaction-only attributes should not be
compared if transactionMode == NONE, since they actually don't matter.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)