[jboss-jira] [JBoss JIRA] (DROOLS-2638) Enumerations drop quotes when double quotes are used

Jozef Marko (Jira) issues at jboss.org
Tue Aug 4 03:56:00 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Marko closed DROOLS-2638.
-------------------------------
    Resolution: Won't Fix


No progress over two years and no customer ticked linked. Closing as won't fix.

> Enumerations drop quotes when double quotes are used
> ----------------------------------------------------
>
>                 Key: DROOLS-2638
>                 URL: https://issues.redhat.com/browse/DROOLS-2638
>             Project: Drools
>          Issue Type: Bug
>          Components: Enumerations Editor
>    Affects Versions: 7.42.0.Final
>            Reporter: Toni Rikkola
>            Assignee: Toni Rikkola
>            Priority: Major
>              Labels: drools-tools
>
> https://github.com/kiegroup/kie-wb-common/pull/1890
> @Rikkola The issue reported in the JIRA seem to be resolved; however I noticed (given an enumeration defined as Person.name: ['a', '"b, c"', 'd']) that the generated DRL is Person( name == "b, c" ) whereas should it be Person( name == "\"b, c\"" )? Closing and re-opening the decision table keeps the correct values selected in the table. I also tried defining the BRL fragment to use a literal value for the enumeration and this gave the same results (DRL possibly incorrect, but re-opening and editing the column was OK).
> I also checked Guided Rules and the DRL is equally wrong however re-opening the rule also led to the wrong enumeration value being selected in the editor (it selected the first option by default) and the DRL showing the same (i.e. I set it to "b, c" and re-opening the file selected a).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list