Bug 975303 - BPMN editor signals errors when SwitchYard service task is used
Summary: BPMN editor signals errors when SwitchYard service task is used
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Tooling
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER2
: ---
Assignee: Rob Cernich
QA Contact: Jiri Pechanec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-18 04:20 UTC by Jiri Pechanec
Modified: 2014-06-16 23:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-06 15:25:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1609 0 Major Closed Fix Fault config attributes for SwitchYard Service Task 2014-06-16 23:52:29 UTC

Description Jiri Pechanec 2013-06-18 04:20:37 UTC
When a SwitchYard service is added to a BPM process and configured then JBDS emits one or more of this errors

Expression and Language must not be blank	ProcessComponent.bpmn	/implementations-component-test/build/classes	Unknown	BPMN 2.0 Modeler

The process is runnable even with this errors, but project is marked as build error.

The problem lies with data associations related to the task

This is an exmaple fo a XML that is generated for setting service name to "MyService" 

      <bpmn2:dataInputAssociation id="_DataInputAssociation_2">
        <bpmn2:targetRef>_DataInput_2</bpmn2:targetRef>
        <bpmn2:assignment id="Assignment_2">
          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_5" >MyService</bpmn2:from>
          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_6" >_DataInput_2</bpmn2:to>
        </bpmn2:assignment>
      </bpmn2:dataInputAssociation>

If an attribute language="http://www.mvel.org/2.0" is added to from and to elements then one of the error is eliminated. All errors are eliminated if all data associations has the same change.

Comment 1 Rob Cernich 2013-08-13 16:54:05 UTC
The fix for this should be available in SwitchYard 1.0.0.Final

Comment 5 Jiri Pechanec 2013-10-17 09:29:46 UTC
Verified in ER4

Comment 6 JBoss JIRA Server 2014-06-16 23:52:29 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1609 to Closed


Note You need to log in before you can comment on or make changes to this bug.