Bug 1278406

Summary: XML parse error in BPMN2 process incorrectly associated with a DRL file
Product: [Retired] JBoss BRMS Platform 6 Reporter: Jiri Locker <jlocker>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: etirelli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:04:58 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:
Embargoed:

Description Jiri Locker 2015-11-05 12:06:27 UTC
Description of problem:
When there is a "XML parse error" in a business process and there is a DRL file with the same base name as the process in the same package, the error message in Messages panel will contain a link to the DRL file instead of the process. If that happens it can be really confusing.

Note: the XML parse error can be caused even by a well-formed BPMN2 XML document. The simplest way is to create a [startEvent]->[endEvent] nodes an then attach an additional node to the start event. Start event cannot have more than one outgoing connections and that results in a "XML parse error".

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

How reproducible:
-

Steps to Reproduce:
1. Clone the attached repository into workbench.
2. Go to Authoring perspective, select "myproject" in Project Explorer.
3. Check Messages panel, or build the project in Project Editor.

Actual results:
The File column of the error message contains "hello.drl".

Expected results:
The File column of the error message contains "hello.bpmn2".

Additional info: