Bug 983536
Summary: | default kbase and non default ksession combination is not included in kmodule.xml in resulting jar. | ||
---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Marek Baluch <mbaluch> |
Component: | Business Central | Assignee: | Toni Rikkola <trikkola> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0.0 | CC: | etirelli, kverlaen, mbaluch, mproctor, rrajasek, rzhang |
Target Milestone: | ER 7 | ||
Target Release: | 6.0.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-06 20:06:10 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: |
Description
Marek Baluch
2013-07-11 11:55:15 UTC
Step 5 here might be wrong. It is possible to have a default KBase without any default KSessions. So asking if step 5 is based on documentation or if there is any other reason to expect these two ksessions to be there? the steps need to first create a kbase, before creating the ksession. What happens is the UI insists you make atleast one kbase default. This is not actually necessary in the, system will work. The getKieBase() simply returns null, if there is no default. However enforcement actually can cause problems, if you have multiple jars on the class path, each publishing a default. This causes a conflict and the system will not load. The correct way is to remove the kbase default enforcement, and leave it up to the user to select this. This will also add symmetry between the kbase and ksession. Ok, default kbase is no longer forced. Commits master: https://github.com/droolsjbpm/kie-wb-common/commit/3276d0482a108e57fa5d920e5ee1696ddd6646e3 6.0.x: https://github.com/droolsjbpm/kie-wb-common/commit/3537e1ea829b2190a46de39567a5807f4266e72a Verified on ER7. All combinations now show up in the jar as expected. |