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

Bug 863389

Summary: Process definitions are not included in binary packages built by Guvnor.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Petr Široký <psiroky>
Component: BRM (Guvnor)Assignee: manstis
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: kverlaen, manstis
Target Milestone: ER3   
Target Release: BRMS 5.3.1 GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:20:53 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 with DEBUG enabled.
none
Repository export that contains several BPMN processes. none

Description Petr Široký 2012-10-05 10:24:29 UTC
Description of problem:
When building a binary package using Guvnor, process definitions are not included in that package. All other assets seem to be included.


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


Steps to Reproduce:
1) Download and unzip brms-standalone-5.3.1-ER2.zip
2) Uncomment users in jboss-as/server/default/conf/props/brms-users.properties
3) Start the server from bin directoruy using ./run.sh
4) Log into Guvnor, create some package and create one or several process definitions in that package.
5) Build the package.
  

Actual results:
The binary package has only 1KiB in size.

Expected results:
Package should have several KiBs in size as the process definition has several KiBs.

Additional info:
You can also see this when incrementally building the package. Build package with one process. See the binary package size. Then add another process and build the package. Size will be same.

Another way to see that there are no definitions is to log into jBPM console and list the process definitions (no definitions will be there).

Comment 1 Petr Široký 2012-10-05 10:51:23 UTC
Created attachment 622090 [details]
Server log with DEBUG enabled.

Package building is logged on line 490. Message says that all assets have been included, but the binary package does not contain them.

Comment 2 manstis 2012-10-05 11:00:37 UTC
Can you please provide a repository export containing a package?

I cannot debug with ER2 and need to check what is happening when compiling the package by stepping through the source code.

Comment 3 Petr Široký 2012-10-05 11:12:23 UTC
Created attachment 622107 [details]
Repository export that contains several BPMN processes.

Comment 4 manstis 2012-10-05 13:04:36 UTC
BPMN2 (and BPMN) process stopped being built as a consequence of this commit: 

https://github.com/droolsjbpm/guvnor/commit/05e78a5709d1c2085586129da5d1b0a9e478adda#guvnor-webapp/src/main/java/org/drools/guvnor/server/builder/PackageAssemblerBase.java

Assigning to tsurdilo. Perhaps a different solution was required for https://bugzilla.redhat.com/show_bug.cgi?id=827002

Comment 5 Tihomir Surdilovic 2012-10-08 16:06:04 UTC
Can you guys please verify the fix? I checked it into the Guvnor 5.3.x branch.

Thanks.

Comment 6 Petr Široký 2012-10-11 08:00:01 UTC
Verified fixed in 5.3.1-ER3.

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