Bug 1064851 - Unable to use "Guided Rule (with DSL)" with non-dsl condition.
Summary: Unable to use "Guided Rule (with DSL)" with non-dsl condition.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER2
: 6.0.1
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-13 12:24 UTC by Amana
Modified: 2018-12-04 17:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:56:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 722663 0 None None None Never

Description Amana 2014-02-13 12:24:44 UTC
** 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.