[JBoss JIRA] (DROOLS-4406) [DMN Designer] Search feature - Infrastructure for highlighting a grid cell with a color
by Guilherme Gomes (Jira)
Guilherme Gomes created DROOLS-4406:
---------------------------------------
Summary: [DMN Designer] Search feature - Infrastructure for highlighting a grid cell with a color
Key: DROOLS-4406
URL: https://issues.jboss.org/browse/DROOLS-4406
Project: Drools
Issue Type: Task
Components: DMN Editor
Reporter: Guilherme Gomes
Assignee: Daniel José dos Santos
Create the infrastructure code for highlighting a cell without focusing it.
In other words, the cell color must be changed, but the outline border indicating the focus must not be enabled.
The expected result for this issue is an API like this:
{code}
void highlight(cell, color)
{code}
This JIRA supports:
-
-
---
Ideally, this API would be something like this:
{code}
void highlight(cell, text, color)
{code}
The text would be selected, showing the part of the cell text that matches with the searched term. But since this is 5 story points JIRA, it's fine only to change the cell color.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4382) Executable-model build error with "matches" and fuction with a fact property as an argument
by Luca Molteni (Jira)
[ https://issues.jboss.org/browse/DROOLS-4382?page=com.atlassian.jira.plugi... ]
Luca Molteni reassigned DROOLS-4382:
------------------------------------
Assignee: Mario Fusco (was: Luca Molteni)
> Executable-model build error with "matches" and fuction with a fact property as an argument
> -------------------------------------------------------------------------------------------
>
> Key: DROOLS-4382
> URL: https://issues.jboss.org/browse/DROOLS-4382
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.24.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Priority: Major
> Labels: support
>
> When a rule uses "matches" and class function and its argument is a property of the fact,
> for example)
> {noformat}
> import org.drools.modelcompiler.domain.Person;
> import static org.drools.modelcompiler.domain.MyFunctions.*;
> rule R when
> $a : Person( name matches testMatch(likes) )
> then
> end
> {noformat}
> It fails to build in executable-model
> {noformat}
> [ERROR] testMatchesClassFunctionWithArg[FLOW_DSL](org.drools.modelcompiler.CompilerTest) Time elapsed: 0.346 s <<< ERROR!
> java.lang.IllegalArgumentException: Cannot get expression type by name _this!
> at org.drools.modelcompiler.builder.generator.DrlxParseUtil.lambda$expressionTypeNameExpr$2(DrlxParseUtil.java:246)
> at java.util.Optional.orElseThrow(Optional.java:290)
> at org.drools.modelcompiler.builder.generator.DrlxParseUtil.expressionTypeNameExpr(DrlxParseUtil.java:246)
> at org.drools.modelcompiler.builder.generator.DrlxParseUtil.getExpressionType(DrlxParseUtil.java:180)
> at org.drools.modelcompiler.builder.generator.expressiontyper.ExpressionTyper.processFirstNode(ExpressionTyper.java:549)
> {noformat}
> It works with non-executable-model.
> Additonal note: When running kie-maven-plugin with -DgenerateModel=YES in 7.23.0.Final-redhat-00002 (RHDM 7.4.0), the error message is "No value present".
> {noformat}
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.23.0.Final-redhat-00002:generateModel (default-generateModel) on project model-map-evaluation-rule: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.23.0.Final-redhat-00002:generateModel failed: No value present -> [Help 1]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4405) [DMN Designer] Can not change/define decision expression
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-4405?page=com.atlassian.jira.plugi... ]
Jozef Marko commented on DROOLS-4405:
-------------------------------------
Probably some cache issues. I can not reproduce the issue anymore.
> [DMN Designer] Can not change/define decision expression
> --------------------------------------------------------
>
> Key: DROOLS-4405
> URL: https://issues.jboss.org/browse/DROOLS-4405
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.25.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Blocker
> Labels: Regression, drools-tools
> Attachments: Screenshot from 2019-08-05 16-04-59.png
>
>
> The issue is that user can not change/define the expression of any node. The context menu for choosing expression type can not be displayed.
> # Create new dmn model
> # Put new Decision node to the canvas
> # Open the expression editor of the Decision node
> # Try to change the expression type either by mouse or keyboard
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4405) [DMN Designer] Can not change/define decision expression
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-4405?page=com.atlassian.jira.plugi... ]
Jozef Marko closed DROOLS-4405.
-------------------------------
Resolution: Cannot Reproduce
> [DMN Designer] Can not change/define decision expression
> --------------------------------------------------------
>
> Key: DROOLS-4405
> URL: https://issues.jboss.org/browse/DROOLS-4405
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.25.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Blocker
> Labels: Regression, drools-tools
> Attachments: Screenshot from 2019-08-05 16-04-59.png
>
>
> The issue is that user can not change/define the expression of any node. The context menu for choosing expression type can not be displayed.
> # Create new dmn model
> # Put new Decision node to the canvas
> # Open the expression editor of the Decision node
> # Try to change the expression type either by mouse or keyboard
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (DROOLS-4405) [DMN Designer] Can not change/define decision expression
by Jozef Marko (Jira)
Jozef Marko created DROOLS-4405:
-----------------------------------
Summary: [DMN Designer] Can not change/define decision expression
Key: DROOLS-4405
URL: https://issues.jboss.org/browse/DROOLS-4405
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.25.0.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Attachments: Screenshot from 2019-08-05 16-04-59.png
The issue is that user can not change/define the expression of any node. The context menu for choosing expression type can not be displayed.
# Create new dmn model
# Put new Decision node to the canvas
# Open the expression editor of the Decision node
# Try to change the expression type either by mouse or keyboard
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months