Red Hat Bugzilla – Bug 1278406
XML parse error in BPMN2 process incorrectly associated with a DRL file
Last modified: 2016-01-08 17:16:21 EST
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):
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.
The File column of the error message contains "hello.drl".
The File column of the error message contains "hello.bpmn2".