Bug 1266076
Summary: | DSL sentences not working in guided rule templates | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Zuzana Krejčová <zkrejcov> |
Component: | Business Central | Assignee: | manstis |
Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.2.0 | CC: | kverlaen, lpetrovi, rrajasek, rsharma221 |
Target Milestone: | CR1 | ||
Target Release: | 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-27 20:02:02 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
Zuzana Krejčová
2015-09-24 12:25:19 UTC
The problem is that we only generate DRL from the templates, without translating the DSL parts to DRL. The guided template editor should have never allowed the user to add DSL. Based on the code this has never worked. My first fix attempt was to translate the DSL in the knowledge builder. While this works if there is DSL in the file, it breaks the build if there is not. We have this similar issue with decision tables that have DSL. The plan is to group this fix with that work. Fixed by detecting if templates contain DSL sentences. If they do, the generated source is treated as DSLR, otherwise as standard DRL. 6.3.x: https://github.com/droolsjbpm/drools/commit/e88a97ee84 master: https://github.com/droolsjbpm/drools/commit/6bc7cdb4a8 The e88a97 commit didn't make it into the product it seems. Correct, the commit is not part of 6.2.0.ER5. @Ryan, I guess you take the cutoff date and consider BZs according to that. However, the cut off date does not really say at which time we actually branched, so there is several hours where the commits can be pushed into the branch, but won't make it into the tag. Is there any way to fix this? I am facing this issue drool workbench in 6.3 version. Is this issue is not resoled in in 6.3 version? Issue- When I create rule in Guided Rule Template with DSL in “When” and “Then” condition it very much shows in the “SOURCE” tab but not in the “DATA” tab columns where table is created. |