Bug 779524

Summary: accept-propagated-events doesn't affect script
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Toshiya Kobayashi <tkobayas>
Component: JBPM - within SOA, JBPM - standaloneAssignee: Alejandro Guizar <alex.guizar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0 ER7CC: dlesage, imamura.yousuke
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1905
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: SOA-1905 Environment:
Last Closed: 2010-05-12 08:26:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Deadline: 2010-03-08   

Description Toshiya Kobayashi 2010-02-01 02:48:03 UTC
++ This bug is a clone of bug 779523 ++

Affects: Release Notes
Date of First Response: 2010-02-01 22:44:58
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/452333
project_key: SOA

Platform issue for JBPM-2778.

Comment 1 Toshiya Kobayashi 2010-02-01 02:49:04 UTC
Link: Added: This issue incorporates JBPM-2778


Comment 2 Alejandro Guizar 2010-02-02 03:44:58 UTC
The issue is valid and resolving it should take a few hours.

Comment 3 Alejandro Guizar 2010-02-23 09:04:41 UTC
Resolving, project issue JBPM-2778 is done.

Comment 5 Anne-Louise Tangring 2010-02-25 20:17:52 UTC
Approved for SOA 4.3 CP03

Comment 6 trev 2010-03-30 09:49:34 UTC
 verified fix with fisheye, it is in ER1

Comment 7 David Le Sage 2010-03-31 01:26:00 UTC
Draft Release Notes text states:


https://jira.jboss.org/jira/browse/JBPM-2778

   If accept-propagation-events="false" was set on both an action and a script,
   the script would, erroneously, be executed on the propagated event. This was contrary to
   the best practice documented in the jBPM Reference Manual. This happened because
   org.jbpm.graph.action.Script overrode the org.jbpm.graph.def.Action.read()
   method and did not recognise the accept-propagation-events attribute.

   To fix this problem, the JpdlXmlParser has been changed so that it will now apply accept-
   propagated-events and async attributes to any action. Also, the jPDL XML schema now permits
   the async and accept-propagated-events attributes to be used in the script and mail element,
   respectively. As a result, the software now conforms more closely to the standards in the
   document.


Comment 8 Toshiya Kobayashi 2010-03-31 02:09:03 UTC
>   If accept-propagation-events="false" was set on both an action and a script, 

Setting on "both an action and a script" is not a indispensable condition. This line would be 

>   If accept-propagation-events="false" was set on a script,

Sorry, my description in JBPM-2778 was not accurate.

Comment 9 David Le Sage 2010-03-31 05:20:44 UTC
That is okay.  I have amended it now.  Cheers.

Comment 10 Jiri Pechanec 2010-05-12 08:26:44 UTC
Tests passing in CR2