Bug 995018
Summary: | Compiler failure when dialect is not specified in DRL | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Jiri Locker <jlocker> |
Component: | Business Central | Assignee: | Walter Medvedeo <wmedvede> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 | CC: | atangrin, etirelli, manstis, mfusco, pzapataf |
Target Milestone: | ER4 | ||
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:19:27 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
Jiri Locker
2013-08-08 12:13:05 UTC
Mario, lets talk about this one and try to solve it ourselves, asking Michael if we need any guidance. If a class has no package, it can't be imported. On data modeler, we just have to force all classes to have a package. It's no longer possible to define a POJO in the default package. The mortgate example in the uf-playground repo needs to be updated with this as well. I just enforced this constraint on the KieBuilder https://github.com/droolsjbpm/drools/commit/b9ff47c815714d2c5b1840b8e9a4ccaf2a3d3e24 Now if you try to compile a java class with no package declaration it will raise a compilation error. Data modeler objects creation was modified in order to prevent the creation of data objects without package. master branch: http://github.com/droolsjbpm/kie-wb-common/commit/569c667bb 6.0.x branch: http://github.com/droolsjbpm/kie-wb-common/commit/1ced2efe7 Fixed in ER4. |