[JBoss JIRA] (DROOLS-4386) Wrong matched rules set were fired when one of the condition having empty cell in drools 6.5.0 using Jdk 1.8
by Rahul Ramachar (Jira)
[ https://issues.jboss.org/browse/DROOLS-4386?page=com.atlassian.jira.plugi... ]
Rahul Ramachar commented on DROOLS-4386:
----------------------------------------
I have attached the Decision table whichis having empty cell.
> Wrong matched rules set were fired when one of the condition having empty cell in drools 6.5.0 using Jdk 1.8
> ------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-4386
> URL: https://issues.jboss.org/browse/DROOLS-4386
> Project: Drools
> Issue Type: Bug
> Components: decision tables
> Affects Versions: 6.5.0.Final
> Environment: Windows, Java 1.8 and drools 6.5.0.Final
> Reporter: Rahul Ramachar
> Assignee: Mario Fusco
> Priority: Major
> Attachments: Discount.xls
>
>
> In JDK 1.7 we were using Drools 5.3.0.Final version and we are migrating to jdk 1.8 so drools 5.3.0.Final was not supported in which we were using Package Builder.
> We migrated JDK 1.8 with drools 6.5.0.Final which uses Kie API to implement rules
> Below is the decision table I am using:
> Customer Rule:
> Condition Condition Action
> ---------------------------------------------------
> Rule NO. Type Years Discount
> ---------------------------------------------------
> 1 "Individual" 5 15
> 2 "Individual" 3 10
> 3 "Individual" 20
> if I insert customer object as "Type" = Individual and "Years" = 5
> after fireAllRules
> It fires two rules i.e Rule no. 1 and 3 and gives the 3rd Rule number as result instead of Rule number 1, inturn gives Discount as 20 instead of 15 which is wrong result.
> if I insert customer object as "Type" = Individual and "Years" = 3
> after fireAllRules
> It fires two rules i.e Rule no. 2 and 3 and gives the 3rd rule number as result instead of Rule number 2, inturn gives Discount as 20 instead of 10 which is wrong result.
> Exact rule match is not happening and providing wrong results.
> Could you please give the solution for this it is breaking so many rules in the application.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 4 months
[JBoss JIRA] (DROOLS-4386) Wrong matched rules set were fired when one of the condition having empty cell in drools 6.5.0 using Jdk 1.8
by Rahul Ramachar (Jira)
[ https://issues.jboss.org/browse/DROOLS-4386?page=com.atlassian.jira.plugi... ]
Rahul Ramachar updated DROOLS-4386:
-----------------------------------
Attachment: Discount.xls
> Wrong matched rules set were fired when one of the condition having empty cell in drools 6.5.0 using Jdk 1.8
> ------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-4386
> URL: https://issues.jboss.org/browse/DROOLS-4386
> Project: Drools
> Issue Type: Bug
> Components: decision tables
> Affects Versions: 6.5.0.Final
> Environment: Windows, Java 1.8 and drools 6.5.0.Final
> Reporter: Rahul Ramachar
> Assignee: Mario Fusco
> Priority: Major
> Attachments: Discount.xls
>
>
> In JDK 1.7 we were using Drools 5.3.0.Final version and we are migrating to jdk 1.8 so drools 5.3.0.Final was not supported in which we were using Package Builder.
> We migrated JDK 1.8 with drools 6.5.0.Final which uses Kie API to implement rules
> Below is the decision table I am using:
> Customer Rule:
> Condition Condition Action
> ---------------------------------------------------
> Rule NO. Type Years Discount
> ---------------------------------------------------
> 1 "Individual" 5 15
> 2 "Individual" 3 10
> 3 "Individual" 20
> if I insert customer object as "Type" = Individual and "Years" = 5
> after fireAllRules
> It fires two rules i.e Rule no. 1 and 3 and gives the 3rd Rule number as result instead of Rule number 1, inturn gives Discount as 20 instead of 15 which is wrong result.
> if I insert customer object as "Type" = Individual and "Years" = 3
> after fireAllRules
> It fires two rules i.e Rule no. 2 and 3 and gives the 3rd rule number as result instead of Rule number 2, inturn gives Discount as 20 instead of 10 which is wrong result.
> Exact rule match is not happening and providing wrong results.
> Could you please give the solution for this it is breaking so many rules in the application.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 4 months
[JBoss JIRA] (DROOLS-4321) [DMN Designer] Search feature - DMN Data Types must be searchable elements
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-4321?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-4321:
--------------------------------
Description:
Currently, the search component indexes only GDT cells, DRG elements, and Boxed Expressions. It must index Data Types too.
h3. Acceptance test
On both Firefox and Chrome
- Search when data types collapsed
- Search in nested structures, Structure in Structure
- Search _Constraints_
- Search _Is List_
- Search data type, edit it, save, continue search
- Search data type, remove it
- Search data type, matches that needs scrolling
- Search Data Type, Search Model, Search Data Type
was:Currently, the search component indexes only GDT cells, DRG elements, and Boxed Expressions. It must index Data Types too.
> [DMN Designer] Search feature - DMN Data Types must be searchable elements
> ---------------------------------------------------------------------------
>
> Key: DROOLS-4321
> URL: https://issues.jboss.org/browse/DROOLS-4321
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
>
> Currently, the search component indexes only GDT cells, DRG elements, and Boxed Expressions. It must index Data Types too.
> h3. Acceptance test
> On both Firefox and Chrome
> - Search when data types collapsed
> - Search in nested structures, Structure in Structure
> - Search _Constraints_
> - Search _Is List_
> - Search data type, edit it, save, continue search
> - Search data type, remove it
> - Search data type, matches that needs scrolling
> - Search Data Type, Search Model, Search Data Type
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 4 months
[JBoss JIRA] (WFLY-12344) SecurityManager push/pull is expensive also for datasources
by Stefano Maestri (Jira)
Stefano Maestri created WFLY-12344:
--------------------------------------
Summary: SecurityManager push/pull is expensive also for datasources
Key: WFLY-12344
URL: https://issues.jboss.org/browse/WFLY-12344
Project: WildFly
Issue Type: Enhancement
Components: JCA
Affects Versions: 17.0.1.Final
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Fix For: 18.0.0.Beta1
Pushing SecurityDefinition in securityManager in eery SubjectFactory is creating a lot of object with an impact on performance.
Double checking WFLY-6372 it seems not needed for that issue.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 4 months
[JBoss JIRA] (WFCORE-4589) WFCORE-4507 Upgrade Jackson to 2.9.9.1
by Martin Stefanko (Jira)
Martin Stefanko created WFCORE-4589:
---------------------------------------
Summary: WFCORE-4507 Upgrade Jackson to 2.9.9.1
Key: WFCORE-4589
URL: https://issues.jboss.org/browse/WFCORE-4589
Project: WildFly Core
Issue Type: Component Upgrade
Components: Security
Reporter: Martin Stefanko
Assignee: Darran Lofthouse
Fix For: 9.0.1.Final
Upgrade the Jackson version to 2.9.9 as used for Elytron subsystem testing to match the version in WildFly.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 4 months
[JBoss JIRA] (WFLY-12343) Integrate server probes in MP Health readiness check
by Jeff Mesnil (Jira)
Jeff Mesnil created WFLY-12343:
----------------------------------
Summary: Integrate server probes in MP Health readiness check
Key: WFLY-12343
URL: https://issues.jboss.org/browse/WFLY-12343
Project: WildFly
Issue Type: Feature Request
Components: MP Health
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
MicroProfile Health 2.0 introduced a readiness health check.
WFLY-12228 added support for MicroProfile Health 2.0 without enhancing the readiness health check.
This RFE enhances it with 3 probes (that are part of the EAP readiness probe script at [1]):
* server-status - returns UP when the server-state is READY
* boot-errors - return UP if there are no boot-errors
* deployment-status - returns UP if status for all deployments is OK
[1] https://github.com/jboss-container-images/jboss-eap-modules/blob/251f422c...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 4 months
[JBoss JIRA] (DROOLS-4386) Wrong matched rules set were fired when one of the condition having empty cell in drools 6.5.0 using Jdk 1.8
by Rahul Ramachar (Jira)
Rahul Ramachar created DROOLS-4386:
--------------------------------------
Summary: Wrong matched rules set were fired when one of the condition having empty cell in drools 6.5.0 using Jdk 1.8
Key: DROOLS-4386
URL: https://issues.jboss.org/browse/DROOLS-4386
Project: Drools
Issue Type: Bug
Components: decision tables
Affects Versions: 6.5.0.Final
Environment: Windows, Java 1.8 and drools 6.5.0.Final
Reporter: Rahul Ramachar
Assignee: Mario Fusco
In JDK 1.7 we were using Drools 5.3.0.Final version and we are migrating to jdk 1.8 so drools 5.3.0.Final was not supported in which we were using Package Builder.
We migrated JDK 1.8 with drools 6.5.0.Final which uses Kie API to implement rules
Below is the decision table I am using:
Customer Rule:
Condition Condition Action
---------------------------------------------------
Rule NO. Type Years Discount
---------------------------------------------------
1 "Individual" 5 15
2 "Individual" 3 10
3 "Individual" 20
if I insert customer object as "Type" = Individual and "Years" = 5
after fireAllRules
It fires two rules i.e Rule no. 1 and 3 and gives the 3rd Rule number as result instead of Rule number 1, inturn gives Discount as 20 instead of 15 which is wrong result.
if I insert customer object as "Type" = Individual and "Years" = 3
after fireAllRules
It fires two rules i.e Rule no. 2 and 3 and gives the 3rd rule number as result instead of Rule number 2, inturn gives Discount as 20 instead of 10 which is wrong result.
Exact rule match is not happening and providing wrong results.
Could you please give the solution for this it is breaking so many rules in the application.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 4 months