Bug 1198220 - GDT: dsl sentences in BRL fragments not expanded/converted in the Source tab
Summary: GDT: dsl sentences in BRL fragments not expanded/converted in the Source tab
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: DR1
: 6.2.0
Assignee: manstis
QA Contact: Jakub Schwan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-03 15:18 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:36:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1129686 0 medium CLOSED Guided Rule Template: DSL sentences corrupt Source tab content 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1198207 0 high CLOSED GDT: dsl sentences with enumerations make BRL fragments uneditable 2021-02-22 00:41:40 UTC

Internal Links: 1129686 1198207

Description Zuzana Krejčová 2015-03-03 15:18:33 UTC
Description of problem:
Adding a dsl sentence to a brl fragment column works, but the Source tab doesn't show the expanded/converted sentence. This is quite like in bug 1129686.


Version-Release number of selected component (if applicable):
6.1 ER5


Steps to Reproduce:
1. Create a data object and a dsl sentence using that data object, e.g.:
[when]When the firstName is {xfirstName} = person1:Person(firstName == "{xfirstName}")
for a data object Person with field firstName (String).
2. Create a guided decision table, add a condition brl fragment from advanced options.
3. Add the dsl sentence from step 1, type in some value (e.g. "Some Name"), click Ok.
4. Add a row and switch to Source tab.


Actual results:
4.	|	rule "Row 1 gdt"
5.	|	    dialect "mvel"
6.	|	    when
7.	|	        When the firstName is Some Name
8.	|	    then
9.	|	end


Expected results:
4.	|	rule "Row 1 gdt"
5.	|	    dialect "mvel"
6.	|	    when
7.	|	        person1:Person(firstName == "Some Name")
8.	|	    then
9.	|	end

Comment 3 Jakub Schwan 2015-10-01 10:55:46 UTC
Verified in 6.2 ER3


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