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

Bug 1053691

Summary: KnowledgeBuilderImpl fails if package doesn't exist, but not if class doesn't exist
Product: [Retired] JBoss BPMS Platform 6 Reporter: Adam Baxter <abaxter>
Component: jBPM CoreAssignee: Mario Fusco <mfusco>
Status: CLOSED NOTABUG QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.x.xCC: abaxter, mfusco
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-17 15:22:11 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
Maven project for reproducer none

Description Adam Baxter 2014-01-15 16:18:14 UTC
Created attachment 850583 [details]
Maven project for reproducer

Description of problem:
KnowledgeBuilderImpl fails if the package referenced in a DRL file doesn't exist, but succeeds if the class referenced in the DRL doesn't exist. 

Version-Release number of selected component (if applicable):
Found in 5.5.0.Final. Unknown if exists in 6

How reproducible:
Consistent

Steps to Reproduce:
1. Run the attached junit test class org.jbpm.ee.reproducer.Sample

Actual results:
Does not fail if the class doesn't exist

Expected results:
Fail if the class doesn't exist

Additional info:

Comment 2 Mario Fusco 2014-01-17 15:22:11 UTC
The provided test is wrong: the Sample class actually exists since this is the name of the test class itself. If you rename the test class you'll see it failing as expected.