Bug 1129686 - Guided Rule Template: DSL sentences corrupt Source tab content
Summary: Guided Rule Template: DSL sentences corrupt Source tab content
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: DR3
: 6.1.0
Assignee: manstis
QA Contact: Lukáš Petrovický
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-13 13:14 UTC by Zuzana Krejčová
Modified: 2016-08-01 01:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)
source screenshot (27.20 KB, image/png)
2014-08-13 13:14 UTC, Zuzana Krejčová
no flags Details

System ID Priority Status Summary Last Updated
Red Hat Bugzilla 993052 None None None Never
Red Hat Bugzilla 1198220 None None None Never

Internal Links: 993052 1198220

Description Zuzana Krejčová 2014-08-13 13:14:35 UTC
Created attachment 926416 [details]
source screenshot

Description of problem:
See bug 993052 as well.

When using DSL sentences in the guided rule template, the Source tab shows unprocessed DSL sentence instead of the relevant source.

For DSL with:
[when]EnumFact with=var2 : EnumFact()
[when]- fieldString1 {$value:ENUM:EnumFact.fieldString1}=fieldString1 == "{$value}"
When these two are used in a guided rule template like this:
1.     EnumFact with
2.     - fieldString1 <someValue>
Source tab shows this:
7.	|	        EnumFact with
8.	|	        - fieldString1 someValue
instead of var2 : EnumFact(fieldString1 == "someValue").
Other condition and action elements are prefixed with ">".

Bug seems to be purely "visual" - validation succeeds, project can be built, rule is fired in test scenario as expected.

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