| Summary: | accept-propagated-events doesn't affect script | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Toshiya Kobayashi <tkobayas> |
| Component: | JBPM - within SOA, JBPM - standalone | Assignee: | Alejandro Guizar <alex.guizar> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.0.0 ER7 | CC: | 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
Link: Added: This issue incorporates JBPM-2778 The issue is valid and resolving it should take a few hours. Resolving, project issue JBPM-2778 is done. Approved for SOA 4.3 CP03 verified fix with fisheye, it is in ER1 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. > 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. That is okay. I have amended it now. Cheers. Tests passing in CR2 |