]
Jozef Marko updated DROOLS-4186:
--------------------------------
Fix Version/s: 7.24.0.Final
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
Fix For: 7.24.0.Final
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
- a, b ,c (/)
- (a, b, c) (/)
- a(), b(), c() (/)
- (a(), b(), c()) (/)