[JBoss JIRA] (DROOLS-5095) [DMN Designer] Investigate performance switching between editor instances
by Michael Biarnes Kiefer (Jira)
[ https://issues.redhat.com/browse/DROOLS-5095?page=com.atlassian.jira.plug... ]
Michael Biarnes Kiefer updated DROOLS-5095:
-------------------------------------------
Fix Version/s: 7.35.0.Final
(was: 7.34.0.Final)
> [DMN Designer] Investigate performance switching between editor instances
> -------------------------------------------------------------------------
>
> Key: DROOLS-5095
> URL: https://issues.redhat.com/browse/DROOLS-5095
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Affects Versions: 7.33.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Minor
> Labels: drools-tools
> Fix For: 7.35.0.Final
>
> Attachments: switch-dmn.webm
>
>
> This JIRA is to investigate the reported performance issue switching between different DMN Designer instances in Business Central.
> The issue was noticed by [~jomarko] when testing DROOLS-5058 (although the fix therein should have had *zero* affect on switching).
> For more details see the video [^switch-dmn.webm]
> h2. Manual acceptance test
> - Prepare 5 DMN models in project
> - Open all in parallel
> - Try to switch between them, keep all opened
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 11 months
[JBoss JIRA] (DROOLS-5112) DMN kie-server wrong cast message reported on FEEL failure
by Matteo Mortari (Jira)
[ https://issues.redhat.com/browse/DROOLS-5112?page=com.atlassian.jira.plug... ]
Matteo Mortari updated DROOLS-5112:
-----------------------------------
Story Points: 2 (was: 5)
> DMN kie-server wrong cast message reported on FEEL failure
> ----------------------------------------------------------
>
> Key: DROOLS-5112
> URL: https://issues.redhat.com/browse/DROOLS-5112
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Priority: Major
>
> {code:java}
> 10:38:53,533 ERROR [org.kie.dmn.feel.runtime.functions.AbsFunction] (default task-26) Error trying to call function abs.: java.lang.ClassCastException: org.kie.server.services.prometheus.PrometheusMetricsDMNListener cannot be cast to org.kie.dmn.api.feel.runtime.events.FEELEventListener
> at java.lang.Iterable.forEach(Iterable.java:75)
> at org.kie.dmn.feel.lang.impl.FEELEventListenersManager.notifyListeners(FEELEventListenersManager.java:71)
> at org.kie.dmn.feel.lang.impl.FEELEventListenersManager.notifyListeners(FEELEventListenersManager.java:82)
> at org.kie.dmn.feel.lang.impl.EvaluationContextImpl.notifyEvt(EvaluationContextImpl.java:178)
> at org.kie.dmn.feel.runtime.functions.BaseFEELFunction.lambda$invokeReflectively$3(BaseFEELFunction.java:97)
> at org.kie.dmn.feel.util.Either.cata(Either.java:70)
> at org.kie.dmn.feel.runtime.functions.BaseFEELFunction.invokeReflectively(BaseFEELFunction.java:96)
> at org.kie.dmn.feel.lang.ast.FunctionInvocationNode.invokeTheFunction(FunctionInvocationNode.java:112)
> at org.kie.dmn.feel.lang.ast.FunctionInvocationNode.evaluate(FunctionInvocationNode.java:90)
> at org.kie.dmn.feel.lang.impl.CompiledExpressionImpl.apply(CompiledExpressionImpl.java:47)
> at org.kie.dmn.feel.lang.impl.InterpretedExecutableExpression.apply(InterpretedExecutableExpression.java:38)
> at org.kie.dmn.feel.lang.impl.InterpretedExecutableExpression.apply(InterpretedExecutableExpression.java:24)
> at org.kie.dmn.feel.codegen.feel11.ProcessedExpression.apply(ProcessedExpression.java:114)
> at org.kie.dmn.feel.codegen.feel11.ProcessedExpression.apply(ProcessedExpression.java:22)
> at org.kie.dmn.feel.lang.impl.FEELImpl.evaluate(FEELImpl.java:167)
> at org.kie.dmn.core.ast.DMNLiteralExpressionEvaluator.evaluate(DMNLiteralExpressionEvaluator.java:73)
> at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateDecision(DMNRuntimeImpl.java:664)
> at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateAll(DMNRuntimeImpl.java:163)
> at org.kie.dmn.core.internal.utils.DMNEvaluationUtils.evaluate(DMNEvaluationUtils.java:87)
> at org.kie.dmn.core.internal.utils.DMNEvaluationUtils.evaluate(DMNEvaluationUtils.java:51)
> at org.kie.server.services.dmn.ModelEvaluatorServiceBase.evaluateDecisions(ModelEvaluatorServiceBase.java:184)
> at org.kie.server.remote.rest.dmn.ModelEvaluatorResource.evaluateDecisions(ModelEvaluatorResource.java:108)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 11 months
[JBoss JIRA] (WFLY-13181) When "corrupted" public key is supplied to server, user is not informed
by Jan Kasik (Jira)
Jan Kasik created WFLY-13181:
--------------------------------
Summary: When "corrupted" public key is supplied to server, user is not informed
Key: WFLY-13181
URL: https://issues.redhat.com/browse/WFLY-13181
Project: WildFly
Issue Type: Bug
Components: MP JWT
Affects Versions: 19.0.0.Beta2, 20.0.0.Beta1
Reporter: Jan Kasik
Assignee: Darran Lofthouse
When corrupted public key (a valid key cannot be extracted from the string value) is supplied to JWT verifier, user is not informed since there is no error message in log and clients receives 401 status code in response instead of an error code of 500.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 11 months
[JBoss JIRA] (WFLY-13180) When "corrupted" public key is supplied to server, user is not informed
by Jan Kasik (Jira)
Jan Kasik created WFLY-13180:
--------------------------------
Summary: When "corrupted" public key is supplied to server, user is not informed
Key: WFLY-13180
URL: https://issues.redhat.com/browse/WFLY-13180
Project: WildFly
Issue Type: Bug
Components: MP JWT
Affects Versions: 19.0.0.Beta2, 20.0.0.Beta1
Reporter: Jan Kasik
Assignee: Darran Lofthouse
When corrupted public key (a valid key cannot be extracted from the string value) is supplied to JWT verifier, user is not informed since there is no error message in log and clients receives 401 status code in response instead of an error code of 500.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 11 months
[JBoss JIRA] (DROOLS-5100) KieBase build fails with forall patterns containing "not equal" constraints
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-5100?page=com.atlassian.jira.plug... ]
Mario Fusco updated DROOLS-5100:
--------------------------------
Sprint: 2020 Week 10-12 (from Mar 2)
> KieBase build fails with forall patterns containing "not equal" constraints
> ---------------------------------------------------------------------------
>
> Key: DROOLS-5100
> URL: https://issues.redhat.com/browse/DROOLS-5100
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.33.0.Final
> Reporter: Matteo Casalino
> Assignee: Mario Fusco
> Priority: Major
> Attachments: forall-not-equal-constraint.tgz
>
>
> as of Drools 7.33.0.Final, forall patterns with "not equal" (!=) constraints will break when building the KieBase.
> For example the following DRL:
> {noformat}
> rule "forall with not equal"
> when forall(String(this != "foo"))
> then
> end
> {noformat}
>
> generates the following error:
> {noformat}
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>
> at java.lang.String.substring(String.java:1967)
> at org.drools.core.rule.constraint.MvelConstraint.getLeftInExpression(MvelConstraint.java:608)
> at org.drools.core.rule.constraint.MvelConstraint.hashCode(MvelConstraint.java:602)
> at org.drools.core.reteoo.AlphaNode.calculateHashCode(AlphaNode.java:189)
> at org.drools.core.reteoo.AlphaNode.<init>(AlphaNode.java:89)
> at org.drools.core.reteoo.builder.PhreakNodeFactory.buildAlphaNode(PhreakNodeFactory.java:88)
> at org.drools.core.reteoo.builder.PatternBuilder.buildAlphaNodeChain(PatternBuilder.java:360)
> at org.drools.core.reteoo.builder.PatternBuilder.attachAlphaNodes(PatternBuilder.java:346)
> at org.drools.core.reteoo.builder.PatternBuilder.attachPattern(PatternBuilder.java:136)
> at org.drools.core.reteoo.builder.PatternBuilder.build(PatternBuilder.java:84)
> at org.drools.core.reteoo.builder.GroupElementBuilder$NotBuilder.build(GroupElementBuilder.java:220)
> at org.drools.core.reteoo.builder.GroupElementBuilder.build(GroupElementBuilder.java:68)
> at org.drools.core.reteoo.builder.GroupElementBuilder$AndBuilder.build(GroupElementBuilder.java:108)
> at org.drools.core.reteoo.builder.GroupElementBuilder.build(GroupElementBuilder.java:68)
> at org.drools.core.reteoo.builder.ReteooRuleBuilder.addSubRule(ReteooRuleBuilder.java:167)
> at org.drools.core.reteoo.builder.ReteooRuleBuilder.addRule(ReteooRuleBuilder.java:139)
> at org.drools.core.reteoo.ReteooBuilder.addRule(ReteooBuilder.java:110)
> at org.drools.core.impl.KnowledgeBaseImpl.internalAddRule(KnowledgeBaseImpl.java:1525)
> at org.drools.core.impl.KnowledgeBaseImpl.internalAddPackages(KnowledgeBaseImpl.java:926)
> at org.drools.core.impl.KnowledgeBaseImpl.lambda$addPackages$2(KnowledgeBaseImpl.java:728)
> at org.drools.core.impl.KnowledgeBaseImpl.enqueueModification(KnowledgeBaseImpl.java:745)
> at org.drools.core.impl.KnowledgeBaseImpl.addPackages(KnowledgeBaseImpl.java:728)
> at org.drools.compiler.kie.builder.impl.AbstractKieModule.createKieBase(AbstractKieModule.java:226)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.createKieBase(KieContainerImpl.java:407)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:375)
> {noformat}
> This is working fine when using Drools <= 7.32.0.Final.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 11 months
[JBoss JIRA] (DROOLS-5115) executable model fails with negation and BigDecimal
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5115?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5115:
--------------------------------------
Sprint: 2020 Week 07-09 (from Feb 10)
> executable model fails with negation and BigDecimal
> ---------------------------------------------------
>
> Key: DROOLS-5115
> URL: https://issues.redhat.com/browse/DROOLS-5115
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.33.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> When you have a rule like:
> {noformat}
> when
> $p : Person(!(money > 20))
> {noformat}
> , executable model fails with an error:
> {noformat}
> bad operand types for binary operator '>'
> first type: java.math.BigDecimal
> second type: int
> {noformat}
> This is because the generated code doesn't use EvaluationUtil.
> {code:java}
> org.drools.model.Rule rule = D.rule("R").build(D.pattern(var_$p).expr("CE47D630E9C0B4A2A149ED40CEC3E3B0",
> (org.drools.modelcompiler.domain.Person _this) -> !(_this.getMoney() > 20),
> D.reactOn("money")),
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 11 months