Bug 1278406 - XML parse error in BPMN2 process incorrectly associated with a DRL file
XML parse error in BPMN2 process incorrectly associated with a DRL file
Status: NEW
Product: JBoss BRMS Platform 6
Classification: JBoss
Component: Business Central (Show other bugs)
6.2.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: manstis
Jiri Locker
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-05 07:06 EST by Jiri Locker
Modified: 2016-01-08 17:16 EST (History)
1 user (show)

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
Description Jiri Locker 2015-11-05 07:06:27 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):
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:

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