[JBoss JIRA] (DROOLS-4896) Accumulate: min with BigDecimal doesn't work as expected when drools.propertySpecific=ALLOWED
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-4896?page=com.atlassian.jira.plug... ]
Mario Fusco resolved DROOLS-4896.
---------------------------------
Resolution: Done
Fixed by https://github.com/kiegroup/drools/commit/cf80a213c7a678fe2d39058135e28c1...
> Accumulate: min with BigDecimal doesn't work as expected when drools.propertySpecific=ALLOWED
> ---------------------------------------------------------------------------------------------
>
> Key: DROOLS-4896
> URL: https://issues.redhat.com/browse/DROOLS-4896
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.14.0.Final, 7.26.0.Final, 7.31.0.Final
> Reporter: Hiroko Miura
> Assignee: Mario Fusco
> Priority: Major
> Labels: support
> Attachments: bigdecimal-accumulate-test.zip
>
>
> Regarding accumulate, min function with BigDecimal does not work as expected when drools.propertySpecific is "ALLOWED".
> The following rule worked with BRMS6.1.4(6.2.0.Final-redhat-13).
> {noformat}
> rule "rule1_BigDecimal"
> agenda-group "BigDecimal"
> when
> accumulate( Fact( $bdVal: bdVal), $minVal : min($bdVal))
> accumulate( Fact( $bdVal2: bdVal, $bdVal2 > $minVal), $minVal2 : min($bdVal2))
>
> $minFact: Fact( bdVal == new BigDecimal($minVal.intValue()))
> $minFact2: Fact( bdVal == new BigDecimal($minVal2.intValue()))
> then
> ...
> end
> {noformat}
> But after upgrading to RHPAM 7 and setting drools.propertySpecific=ALLOWED, this does not work.
> i.e. rule fires one more time than expected even though there is only one fact at the last iteration.
> This does not happen at least with Long type.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-4606) DMN alpha network
by Matteo Mortari (Jira)
[ https://issues.redhat.com/browse/DROOLS-4606?page=com.atlassian.jira.plug... ]
Matteo Mortari updated DROOLS-4606:
-----------------------------------
Sprint: 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2020 Week 04-06 (from Jan 20) (was: 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2020 Week 01-03 (from Dec 30))
> DMN alpha network
> -----------------
>
> Key: DROOLS-4606
> URL: https://issues.redhat.com/browse/DROOLS-4606
> Project: Drools
> Issue Type: Task
> Components: dmn engine
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Priority: Major
>
> Start refactoring work to support alpha network
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-4607) DMN DT Analysis for symbols
by Matteo Mortari (Jira)
[ https://issues.redhat.com/browse/DROOLS-4607?page=com.atlassian.jira.plug... ]
Matteo Mortari updated DROOLS-4607:
-----------------------------------
Sprint: 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2020 Week 04-06 (from Jan 20) (was: 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2020 Week 01-03 (from Dec 30))
> DMN DT Analysis for symbols
> ---------------------------
>
> Key: DROOLS-4607
> URL: https://issues.redhat.com/browse/DROOLS-4607
> Project: Drools
> Issue Type: Feature Request
> Components: dmn engine
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Priority: Major
>
> Extend analysis to symbolic processing in the possible cases
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-1448) [XLS Decision Table] Integer values for Double attributes causes validation error
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-1448?page=com.atlassian.jira.plug... ]
Mario Fusco updated DROOLS-1448:
--------------------------------
Sprint: 2020 Week 01-03 (from Dec 30)
> [XLS Decision Table] Integer values for Double attributes causes validation error
> ---------------------------------------------------------------------------------
>
> Key: DROOLS-1448
> URL: https://issues.redhat.com/browse/DROOLS-1448
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.0.0.Beta6
> Reporter: Jozef Marko
> Assignee: Mario Fusco
> Priority: Minor
> Labels: dtable_testday_preparation, qe-test-day, reported-by-qe
> Attachments: Driver.java, ExamplePolicyPricing.xls, Policy.java, Screenshot from 2017-02-02 10-22-21.png
>
>
> If the XLS decision contains Integer values for column ( attribute ) that is Double data type, then the XLS decision table is not validated successfully. After conversion to guided decision table is the table validated successfully.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-1448) [XLS Decision Table] Integer values for Double attributes causes validation error
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-1448?page=com.atlassian.jira.plug... ]
Mario Fusco reopened DROOLS-1448:
---------------------------------
I was confused by the fact that the jira from which this one was cloned was also closed as resolved. However in this case it was cloned from the GUVNOR-2874 just because it uses same assets in steps to reproduce. I'll give a look at the reproducer.
> [XLS Decision Table] Integer values for Double attributes causes validation error
> ---------------------------------------------------------------------------------
>
> Key: DROOLS-1448
> URL: https://issues.redhat.com/browse/DROOLS-1448
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.0.0.Beta6
> Reporter: Jozef Marko
> Assignee: Mario Fusco
> Priority: Minor
> Labels: dtable_testday_preparation, qe-test-day, reported-by-qe
> Attachments: Driver.java, ExamplePolicyPricing.xls, Policy.java, Screenshot from 2017-02-02 10-22-21.png
>
>
> If the XLS decision contains Integer values for column ( attribute ) that is Double data type, then the XLS decision table is not validated successfully. After conversion to guided decision table is the table validated successfully.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-1448) [XLS Decision Table] Integer values for Double attributes causes validation error
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-1448?page=com.atlassian.jira.plug... ]
Jozef Marko commented on DROOLS-1448:
-------------------------------------
[~mfusco] hello, I think if this was closed without any PR, I think we should move the jira into the Closed(can not reproduce) state rather than Resolved. What do you think?
> [XLS Decision Table] Integer values for Double attributes causes validation error
> ---------------------------------------------------------------------------------
>
> Key: DROOLS-1448
> URL: https://issues.redhat.com/browse/DROOLS-1448
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.0.0.Beta6
> Reporter: Jozef Marko
> Assignee: Mario Fusco
> Priority: Minor
> Labels: dtable_testday_preparation, qe-test-day, reported-by-qe
> Attachments: Driver.java, ExamplePolicyPricing.xls, Policy.java, Screenshot from 2017-02-02 10-22-21.png
>
>
> If the XLS decision contains Integer values for column ( attribute ) that is Double data type, then the XLS decision table is not validated successfully. After conversion to guided decision table is the table validated successfully.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months