[jboss-jira] [JBoss JIRA] (DROOLS-4950) Different behavior of collection unary checks
Yeser Amer (Jira)
issues at jboss.org
Tue Jan 21 04:50:56 EST 2020
[ https://issues.redhat.com/browse/DROOLS-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13953218#comment-13953218 ]
Yeser Amer commented on DROOLS-4950:
------------------------------------
[~jomarko] I asked to [~danielezonca] ragarding this behavior, and I confirm you this is the expected one, because, in case of Graphical editor, EXPECTED collections works like a "contains" and not like an "equals". For example, If you try to put ?=[4] in the first row you will receive an error.
In the case of an expression defined collection, it works like an "equals".
I agree this is not clear and maybe it should be documented in some way (I didn't know it too).
> Different behavior of collection unary checks
> ---------------------------------------------
>
> Key: DROOLS-4950
> URL: https://issues.redhat.com/browse/DROOLS-4950
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Affects Versions: 7.32.0.Final
> Reporter: Jozef Marko
> Assignee: Yeser Amer
> Priority: Critical
> Labels: drools-tools
> Attachments: MySpace_simplenumbers.zip, Screenshot from 2020-01-17 13-56-02.png, Screenshot from 2020-01-17 13-56-10.png
>
>
> Issue was spotted during DROOLS-4698 review. However it can be handled separately.
> There is issue that user can define collection unary test with UI editor [1] but also as plain text [2]. The problem is the result is different.
> [1]
> !Screenshot from 2020-01-17 13-56-02.png|thumbnail!
> [2]
> !Screenshot from 2020-01-17 13-56-10.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list