Bug 1064851
| Summary: | Unable to use "Guided Rule (with DSL)" with non-dsl condition. | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Amana <ajuricic> |
| Component: | Business Central | Assignee: | manstis |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | kverlaen, rrajasek |
| Target Milestone: | ER2 | ||
| Target Release: | 6.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 19:56:44 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 of problem: Basically, if a new "Guided Rule" is created using the "DSL" checked, a DSL conditions has to be included. The following error is experiencied if validating a "Guided Rule (with DSL)" with non-dsl conditions. "Unable to expand: ..." It seems to be a bug since there are options to include non-dsl as "There is ...". ** Version-Release number of selected component (if applicable): BPM/BRMS6 GA ** How reproducible: Always ** Steps to Reproduce: 1) create TestFact in data modeler having single string field named "name" 2) create dsl (e.g. [when] Name is {something}= TestFact(name=='{something}') 3) create the guided rule ticking "Use Domain Specific Language (DSL)" and add the simplest rule (e.g. There is a TestFact) 4) try to validate the rule -> see error in "Problems" at the bottom of the page or server.log ** Actual results: "Unable to expand: TestFact()" ** Expected results: It should validate successfully. ** Additional info: Workaround: Add any dsl condition to the rule.