Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1064851 - Unable to use "Guided Rule (with DSL)" with non-dsl condition.
Unable to use "Guided Rule (with DSL)" with non-dsl condition.
Status: CLOSED CURRENTRELEASE
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central (Show other bugs)
6.0.0
Unspecified Unspecified
high Severity medium
: ER2
: 6.0.1
Assigned To: manstis
Jiri Locker
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-13 07:24 EST by Amana
Modified: 2014-08-06 15:56 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-08-06 15:56:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 722663 None None None Never

  None (edit)
Description Amana 2014-02-13 07:24:44 EST
** 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.

Note You need to log in before you can comment on or make changes to this bug.