Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2824

New implementation of equals and hashcode for ProcessInstance breaks behaviour

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • jBPM 3.2.8
    • None

    Description

      The equals implementation of ProcessInstance now contains key, if the id is not set. The equals implementation of Token also includes equals for ProcessInstance. This means that setting the key properties from within a running process changes the hashcode of the Token and therefore the Process variables will not be found anymore as long as the id of the ProcessInstance is not found.

      Furthermore it should be discussed how it affects performance to include ProcessInstance and Processdefinition in every call of equals and hashcode for a Token.

      Attachments

        Activity

          People

            aguizar_jira Alejandro Guizar (Inactive)
            roschmel_jira Robert Schmelzer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: