[
https://issues.jboss.org/browse/DROOLS-428?page=com.atlassian.jira.plugin...
]
Kai Jemella updated DROOLS-428:
-------------------------------
Attachment: DSL_2variables_uf-playground_CreditApproval_source.png
DSL_2variables_uf-playground_CreditApproval_editor.png
DSL_2variables_uf-playground_CreditApproval_DSL.png
DSL_2variables_uf-playground_ApplicationDSL.png
DSL sentence with multiple variables is defect
----------------------------------------------
Key: DROOLS-428
URL:
https://issues.jboss.org/browse/DROOLS-428
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.1.Final
Reporter: Kai Jemella
Assignee: Mark Proctor
Attachments: DSL_2variables_uf-playground_ApplicationDSL.png,
DSL_2variables_uf-playground_CreditApproval_DSL.png,
DSL_2variables_uf-playground_CreditApproval_editor.png,
DSL_2variables_uf-playground_CreditApproval_source.png
In current kie-drools-wb-6.1.0-SNAPSHOT-jboss-as7.0 and kie-wb-6.1.0-SNAPSHOT-jboss-as7
it isn't possible to use DSL sentences with more than one variable.
to reproduce:
append in uf-playground mortgages ApplicatonDsl:
{code}
[when]When the credit rating is {rating:ENUM:Applicant.creditRating} and date after
{dos:DATE:default} = applicant:Applicant(creditRating=="{rating}" &&
applicationDate>"{dos}")
{code}
create a new GUIDED RULE (WITH DSL) and use the new dsl when sentence
view source:
{code}
when
applicant:Applicant(creditRating=="AA and date after 13-Feb-2014")
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira