[JBoss JIRA] (DROOLS-4210) [DMN Designer] Documentation - Show DMNExternalLinks into the Documentation
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-4210?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-4210:
-----------------------------------
Sprint: 2019 Week 26-28, 2019 Week 29-31, 2019 Week 32-34 (was: 2019 Week 26-28, 2019 Week 29-31)
> [DMN Designer] Documentation - Show DMNExternalLinks into the Documentation
> ---------------------------------------------------------------------------
>
> Key: DROOLS-4210
> URL: https://issues.jboss.org/browse/DROOLS-4210
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: drools-tools
>
> Show all {{DMNExternalLink}}s into the Documentation tab.
> h2. Acceptance Test
> - Links of all nodes in documentation (/)
> - Long link (/)
> - Multibyte characters link (/)
> - Add link to node (/)
> - Remove link of node (/)
> - Download as pdf (?) see github PR question
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4108) Improve Test Scenario with DMN model with only inputs/decisions
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-4108?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-4108:
-----------------------------------
Sprint: 2019 Week 26-28, 2019 Week 29-31, 2019 Week 32-34 (was: 2019 Week 26-28, 2019 Week 29-31)
> Improve Test Scenario with DMN model with only inputs/decisions
> ----------------------------------------------------------------
>
> Key: DROOLS-4108
> URL: https://issues.jboss.org/browse/DROOLS-4108
> Project: Drools
> Issue Type: Enhancement
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: Daniele Zonca
> Priority: Major
> Labels: ScenarioSimulation
>
> When user create a Test Scenario based on a DMN model with only inputs or only decisions the generated template contains only GIVEN (when only inputs) or EXPECT (when only decisions) without the possibility to add a column of the other type
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-3617) [DMN Designer] Indirect boolean and structure has a constraint
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-3617?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-3617:
-----------------------------------
Sprint: 2019 Week 23-25, 2019 Week 26-28, 2019 Week 29-31, 2019 Week 32-34 (was: 2019 Week 23-25, 2019 Week 26-28, 2019 Week 29-31)
> [DMN Designer] Indirect boolean and structure has a constraint
> --------------------------------------------------------------
>
> Key: DROOLS-3617
> URL: https://issues.jboss.org/browse/DROOLS-3617
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.18.0.Final
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2019-02-08 08-41-18.png
>
>
> If user declares *boolean* or a *Structure* indirectly, he is able to set a constarint for such data type entry, however he shouldn't be able to set the constraint in such case. Please see the attached screenshot. There are 4 entries while 2 has constraints and 2 have not. Expected is no of those 4 entries has constraint.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-3944) DMN Editor: Data type usability study
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-3944?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-3944:
-----------------------------------
Sprint: 2019 Week 23-25, 2019 Week 26-28, 2019 Week 29-31, 2019 Week 32-34 (was: 2019 Week 23-25, 2019 Week 26-28, 2019 Week 29-31)
> DMN Editor: Data type usability study
> -------------------------------------
>
> Key: DROOLS-3944
> URL: https://issues.jboss.org/browse/DROOLS-3944
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Environment: Version 7.4
> Reporter: Elizabeth Clayton
> Assignee: Sarahjane Clark
> Priority: Major
> Labels: UX, UXTeam, Usability, drools-tools
>
> Lightweight usability study to test the ease of use in viewing, creating, editing and deleting data types, particularly structured data types.
> GOALS: Access the Data Type editor in terms of productivity and usability.
> * Ease of use when creating a complex type (concern: minimizing the mouse usage.)
> * Ease of use when saving a basic data type (e.g. age: number)
> * Discoverability of actions in the kebab menu, especially, insert nested, delete.
> * Ease of use/accuracy: Type-ahead of the data type selector.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4377) Comparison error with primitive and Map in executable-model
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-4377?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-4377:
-----------------------------------
Sprint: 2019 Week 29-31, 2019 Week 32-34 (was: 2019 Week 29-31)
> Comparison error with primitive and Map in executable-model
> -----------------------------------------------------------
>
> Key: DROOLS-4377
> URL: https://issues.jboss.org/browse/DROOLS-4377
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.24.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> When comparing a primitive int with an Integer inside a Map,
> {noformat}
> import java.util.Map;
> import org.drools.modelcompiler.domain.Person;
> rule R1 when
> $m : Map()
> Person(age == $m['age'] )
> then
> end
> {noformat}
> executable-model build fails with "Comparison operation requires compatible types. Found int and class java.lang.Object" even though the Map's value is Integer.
> {noformat}
> [ERROR] Failures:
> [ERROR] CompilerTest.testMapPrimitiveComparison:1905->BaseModelTest.getKieSession:99->BaseModelTest.getKieSession:103->BaseModelTest.getKieContainer:107->BaseModelTest.getKieContainer:114->BaseModelTest.createKieBuilder:125->BaseModelTest.createKieBuilder:152 [Message [id=1, kieBase=defaultKieBase, level=ERROR, path=r0.drl, line=-1, column=0
> text=Comparison operation requires compatible types. Found int and class java.lang.Object]]
> {noformat}
> Non executable-model has no issue with the rule.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4375) BigDecimal in from accumulate with MVEL with executable-model
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-4375?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-4375:
-----------------------------------
Sprint: 2019 Week 29-31, 2019 Week 32-34 (was: 2019 Week 29-31)
> BigDecimal in from accumulate with MVEL with executable-model
> -------------------------------------------------------------
>
> Key: DROOLS-4375
> URL: https://issues.jboss.org/browse/DROOLS-4375
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.24.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> When "from accumulate" uses BigDecimal with Mvel syntax,
> for example)
> {noformat}
> import org.drools.modelcompiler.domain.Person;
> import java.math.BigDecimal;
> global java.util.List list;
> dialect "mvel"
> rule R when
> $b : BigDecimal() from accumulate (
> Person( $money : money ),
> init( BigDecimal sum = 0; ),
> action( sum += $money; ),
> reverse( sum -= $money; ),
> result( sum )
> )
> then
> list.add($b);
> end
> {noformat}
> It works with non executable-model but fails with executable-model.
> {noformat}
> [ERROR] Failures:
> [ERROR] AccumulateTest.testFromAccumulateBigDecimalMvel:1273->BaseModelTest.getKieSession:99->BaseModelTest.getKieSession:103->BaseModelTest.getKieContainer:107->BaseModelTest.getKieContainer:114->BaseModelTest.createKieBuilder:125->BaseModelTest.createKieBuilder:152 [Message [id=1, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=28, column=20
> text=incompatible types: int cannot be converted to java.math.BigDecimal], Message [id=2, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=32, column=18
> text=bad operand types for binary operator '+'
> first type: java.math.BigDecimal
> second type: java.math.BigDecimal], Message [id=3, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=36, column=18
> text=bad operand types for binary operator '-'
> first type: java.math.BigDecimal
> second type: java.math.BigDecimal], Message [id=4, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=0, column=0
> text=Java source of src/main/java/defaultpkg/RAccumulate6.java in error:
> package defaultpkg
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4376) Abbreviated comparison with Map fails in executable-model
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-4376?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-4376:
-----------------------------------
Sprint: 2019 Week 29-31, 2019 Week 32-34 (was: 2019 Week 29-31)
> Abbreviated comparison with Map fails in executable-model
> ---------------------------------------------------------
>
> Key: DROOLS-4376
> URL: https://issues.jboss.org/browse/DROOLS-4376
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.24.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> When we write abbreviated comparison with Map,
> {noformat}
> import java.util.Map;
> rule R1 when
> Map(this['money'] >= 65 && <= 75)
> then
> end
> {noformat}
> executable-model build fails.
> {noformat}
> [ERROR] testMapAbbreviatedComparison[FLOW_DSL](org.drools.modelcompiler.CompilerTest) Time elapsed: 0.258 s <<< ERROR!
> java.lang.UnsupportedOperationException: Unknown expression: this["money"]
> at org.drools.modelcompiler.builder.generator.expressiontyper.ExpressionTyper.findLeftLeafOfNameExpr(ExpressionTyper.java:875)
> at org.drools.modelcompiler.builder.generator.expressiontyper.ExpressionTyper.findLeftLeafOfNameExpr(ExpressionTyper.java:867)
> at org.drools.modelcompiler.builder.generator.expressiontyper.ExpressionTyper.findLeftLeafOfNameExpr(ExpressionTyper.java:867)
> at org.drools.modelcompiler.builder.generator.DrlxParseUtil.trasformHalfBinaryToBinary(DrlxParseUtil.java:331)
> at org.drools.modelcompiler.builder.generator.expressiontyper.ExpressionTyper.toTypedExpressionRec(ExpressionTyper.java:170)
> at org.drools.modelcompiler.builder.generator.expressiontyper.ExpressionTyper.toTypedExpression(ExpressionTyper.java:118)
> at org.drools.modelcompiler.builder.generator.drlxparse.ConstraintParser.parseBinaryExpr(ConstraintParser.java:309)
> at org.drools.modelcompiler.builder.generator.drlxparse.ConstraintParser.getDrlxParseResult(ConstraintParser.java:114)
> at org.drools.modelcompiler.builder.generator.drlxparse.ConstraintParser.drlxParse(ConstraintParser.java:81)
> at org.drools.modelcompiler.builder.generator.visitor.pattern.PatternDSL.findAllConstraint(PatternDSL.java:124)
> at org.drools.modelcompiler.builder.generator.visitor.pattern.PatternDSL.buildPattern(PatternDSL.java:191)
> at org.drools.modelcompiler.builder.generator.visitor.ModelGeneratorVisitor.visit(ModelGeneratorVisitor.java:128)
> at org.drools.compiler.lang.descr.PatternDescr.accept(PatternDescr.java:267)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months