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

TaskMgmtInstance.removeSignalling(Token token) - Remove signalling capabilities from all task instances related to the given token

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 3.2.2
    • jBPM 3.1.4, jBPM 3.2.0
    • Runtime Engine
    • None
    • Low
    • Hide

      /**

      • removes signalling capabilities from all task instances related to the given token.
        */
        public void removeSignalling(Token token) {
        if (taskInstances!=null)
        Unknown macro: { Iterator iter = taskInstances.iterator(); while (iter.hasNext()) { TaskInstance taskInstance = (TaskInstance) iter.next(); /****************************************************************************************/ // check, that signalling is removed only from TaskInstances belonging to the given Token /****************************************************************************************/ if(taskInstance.getToken.getId() == token.getId) taskInstance.setSignalling(false); } }

        }

      Show
      /** removes signalling capabilities from all task instances related to the given token. */ public void removeSignalling(Token token) { if (taskInstances!=null) Unknown macro: { Iterator iter = taskInstances.iterator(); while (iter.hasNext()) { TaskInstance taskInstance = (TaskInstance) iter.next(); /****************************************************************************************/ // check, that signalling is removed only from TaskInstances belonging to the given Token /****************************************************************************************/ if(taskInstance.getToken.getId() == token.getId) taskInstance.setSignalling(false); } } }

      There is a bug in TaskMgmtinstance.removeSignalling(Token token) of jBPM versions 3.1.4 and 3.2:

      Signalling is set to false for all TaskInstances that are in the current TaskMgmtInstance.
      It has to be checked, that signalling is removed only from TaskInstances belonging to the given Token.
      (see forum)

            tom.baeyens Tom Baeyens (Inactive)
            holly77 Wolfgang Hollweck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: