Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5950

Parser sets transaction().useSynchronization to non-default value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Final
    • 8.0.1.Final
    • Configuration
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: