[
https://issues.jboss.org/browse/DROOLS-4186?page=com.atlassian.jira.plugi...
]
Jozef Marko updated DROOLS-4186:
--------------------------------
Description:
The Guided Rule is omitting one parenthesis from the generated DRL source. This behavior
only happens on LHS.
No errors are raised on the server logs.
Expected source code:
{code:java}
Silverware( type in ("Spoon", "Spoon (fancy)") )
{code}
Generated source code:
{code:java}
Silverware( type in ("Spoon", "Spoon (fancy") )
{code}
h3. Acceptance test
Set up column with *is contained in* operator and type value
- 1,2,3
- (1, 2, 3)
- a, b ,c
- (a, b, c)
- a(), b(), c()
- (a(), b(), c())
was:
The Guided Rule is omitting one parenthesis from the generated DRL source. This behavior
only happens on LHS.
No errors are raised on the server logs.
Expected source code:
{code:java}
Silverware( type in ("Spoon", "Spoon (fancy)") )
{code}
Generated source code:
{code:java}
Silverware( type in ("Spoon", "Spoon (fancy") )
{code}
Guided Rules does not output parenthesis in DRL
-----------------------------------------------
Key: DROOLS-4186
URL:
https://issues.jboss.org/browse/DROOLS-4186
Project: Drools
Issue Type: Bug
Components: Guided Template Editor
Environment: RHDM 7.3
Reporter: Karina Varela
Assignee: Toni Rikkola
Priority: Major
Labels: drools-tools, guided_rule_editor
The Guided Rule is omitting one parenthesis from the generated DRL source. This behavior
only happens on LHS.
No errors are raised on the server logs.
Expected source code:
{code:java}
Silverware( type in ("Spoon", "Spoon (fancy)") )
{code}
Generated source code:
{code:java}
Silverware( type in ("Spoon", "Spoon (fancy") )
{code}
h3. Acceptance test
Set up column with *is contained in* operator and type value
- 1,2,3
- (1, 2, 3)
- a, b ,c
- (a, b, c)
- a(), b(), c()
- (a(), b(), c())
--
This message was sent by Atlassian Jira
(v7.12.1#712002)