Bug 779543 (SOA-1920)

Summary: jPDL schema does not accept condition attribute in transition
Product: [JBoss] JBoss Enterprise SOA Platform 4 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: 4.3 CP02CC: dlesage
Target Milestone: ---   
Target Release: 4.3 CP04 ER1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1920
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 779544 (view as bug list) Environment:
Last Closed: 2010-03-24 09:19:45 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-04 05:41:25 UTC
Affects: Release Notes
Date of First Response: 2010-02-25 15:16:42
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/446713
Workaround: Workaround Exists
Workaround Description: Write condition as element text.

<decision name="node1">
<transition to="node2"><condition>#{AAA == null}</condition></transition>
<transition to="node3"></transition>
</decision> 
project_key: SOA

Platform issue for JBPM-2784: schema doesn't accept condition attribute in transition

Comment 1 Toshiya Kobayashi 2010-02-04 05:42:31 UTC
Workaround Description: Added: Write condition as element text.

<decision name="node1">
<transition to="node2"><condition>#{AAA == null}</condition></transition>
<transition to="node3"></transition>
</decision> 
Workaround: Added: [Workaround Exists]


Comment 2 Toshiya Kobayashi 2010-02-04 05:43:13 UTC
Link: Added: This issue incorporates JBPM-2784


Comment 3 Anne-Louise Tangring 2010-02-25 20:16:42 UTC
Approved for SOA 4.3 CP03.

Comment 4 Alejandro Guizar 2010-03-04 13:26:58 UTC
JBPM-2784 is resolved. SOA-P team, please close as you see fit.

Comment 5 David Le Sage 2010-03-15 00:35:47 UTC
Draft text for Resolved Issues section of Release Notes states:


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

    Process definitions with condition attributes such as "#{AAA == null}" were being rejected
    by the Schema. This caused org.jbpm.jpdl.JpdlException: [[ERROR] cvc-complex-
    type.3.2.2: Attribute 'condition' is not allowed to appear in element
    'transition'. exceptions.

    To fix this problem, the ability to handle condition attributes has been added to the transition
    element in the jPDL 3.2 Schema. As a result, they are no longer rejected by the Schema.


Comment 6 Martin Vecera 2010-03-24 09:19:45 UTC
Verified in 4.3.CP03 ER1