Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 864063

Summary: Initial process BPMN2 import fails in Designer (hangs)
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Tihomir Surdilovic <tsurdilo>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: kverlaen
Target Milestone: ER4   
Target Release: BRMS 5.3.1 GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The Process Designer was not loading extension elements correctly when first importing BPMN2 processes, causing the imported process not to fail. This has been resolve and the extension elements are now loaded up front. This results in the successful import of BPMN2 processes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:20:54 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:
Attachments:
Description Flags
server.log none

Description Tihomir Surdilovic 2012-10-08 13:40:57 UTC
Description of problem:
On server restart when trying to import BPMN2 (Import -> From BPMN2), this 
import fails, just hangs and never imports the BPMN2.

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

How reproducible:


Steps to Reproduce:
1. restart server
2. create new process
3. import -> import from bpmn2 and paste your bpmn2
4. click "Import" button
  
Actual results:
Designer hangs

Expected results:
Designer imports the bpmn2 and shows on the canvas

Additional info:

Comment 1 Tihomir Surdilovic 2012-10-08 13:41:26 UTC
requesting blocker status for this BZ for 5.3.1

Comment 2 Tihomir Surdilovic 2012-10-09 22:39:56 UTC
fix checked into the designer 2.3.x branch (production branch)

Comment 3 Jiri Locker 2012-11-15 15:41:14 UTC
Created attachment 645726 [details]
server.log

Hi Tihomir, I confirm that the latest designer (built for ER4) no longer hangs when importing Evaluation.bpmn process, however the import still fails and Designer displays an alert titled "Failed to import BPMN2.".

I'm attaching server.log with full exception trace. The exception message says:

org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'script' not found. (inputStream://dummyUriWithValidSuffix.xml, 33, 19)

Comment 4 Jiri Locker 2012-11-15 16:32:09 UTC
Ok, I learned that that Evaluation process currently won't import due to bug 801290 and bug 874368. Will retest with the next build.

Comment 5 Tihomir Surdilovic 2012-11-15 16:48:48 UTC
Thanks. If you in your bpmn2 just remove the targetNamespace definition, it should import fine.

Comment 6 Jiri Locker 2012-12-06 11:10:28 UTC
Verified in BRMS 5.3.1.CR1.

Processes can be imported without hanging (including Evalutaion2.bpmn sample).

Comment 13 Red Hat Bugzilla 2025-02-10 03:20:54 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.