Bug 1121711

Summary: Designer cannot parse bpmn2 file
Product: [Retired] JBoss BPMS Platform 6 Reporter: Phil Simpson <psimpson>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: VERIFIED --- QA Contact: Sona Mala <smala>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.2CC: kverlaen, mbaluch
Target Milestone: ER3   
Target Release: 6.1.0   
Hardware: x86_64   
OS: Windows   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
BPMN parse failure none

Description Phil Simpson 2014-07-21 16:40:08 UTC
Created attachment 919691 [details]
BPMN parse failure

Description of problem:
The attached bpmn file was created with the process designer, but causes an illegal argument exception when parsing:

unable to parse xml : Exception class java.lang.IllegalArgumentException : Interface name is required attribute

column 0
line  -1

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. import attached bpmn file
2. view error log

Actual results:

Expected results:

Additional info:

Comment 2 Jeremy Lindop 2014-11-25 11:39:26 UTC
Fixed by setting default values for interface and operation on the ServiceTask and the interface objects when the BP is saved.

master: https://github.com/droolsjbpm/jbpm-designer/commit/dc62f34c627b2af4848c67bbdfd64c582bd09ab6
6.2.x:  https://github.com/droolsjbpm/jbpm-designer/commit/39c1e64d2f5e7667eac7515a36fa77239786f72b

Comment 3 Sona Mala 2014-12-16 10:55:08 UTC
it seems that import is successful, now (6.1.0 ER3).