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 Core | Assignee: | Mario Fusco <mfusco> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Marek Baluch <mbaluch> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 5.x.x | CC: | 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: |
|
||||||
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. |
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: