[jboss-jira] [JBoss JIRA] Closed: (JBPM-783) isPropagated calculation for event is not correct
Olga Ivanova (JIRA)
jira-events at lists.jboss.org
Mon Jun 18 05:26:20 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-783?page=all ]
Olga Ivanova closed JBPM-783.
-----------------------------
Fix Version/s: jBPM jPDL 3.2.1
Resolution: Duplicate Issue
I believe this issue should be closed, as same issue was reported and fixed - JBPM-957
> isPropagated calculation for event is not correct
> -------------------------------------------------
>
> Key: JBPM-783
> URL: http://jira.jboss.com/jira/browse/JBPM-783
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM jPDL 3.2 alpha 1
> Reporter: Olga Ivanova
> Assigned To: Tom Baeyens
> Fix For: jBPM jPDL 3.2.1
>
>
> As it is stated in comment inside org.jbpm.graph.def.GraphElement.fireAndPropagateEvent method
> // calculate if the event was fired on this element or if it was a propagated event
> boolean isPropagated = (this.equals(executionContext.getEventSource()));
> I believe code does not correspond to the intent and should look following:
> boolean isPropagated = !(this.equals(executionContext.getEventSource()));
> i.e if event source is same element that this, event is not propagated, if they are different - event is propagated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list