[jboss-jira] [JBoss JIRA] (DROOLS-4186) Guided Rules does not output parenthesis in DRL
Jozef Marko (Jira)
issues at jboss.org
Tue Jun 18 02:06:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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}
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())
> 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)
More information about the jboss-jira
mailing list