[JBoss JIRA] (DROOLS-4542) Executable model compilation fails with map modification in action
by Hiroko Miura (Jira)
[ https://issues.jboss.org/browse/DROOLS-4542?page=com.atlassian.jira.plugi... ]
Hiroko Miura updated DROOLS-4542:
---------------------------------
Environment:
- 7.24.0.Final and later version
- building executable model
- dialect "mvel"
was:
- 7.24.0.Final and later version
- building executable model
> Executable model compilation fails with map modification in action
> ------------------------------------------------------------------
>
> Key: DROOLS-4542
> URL: https://issues.jboss.org/browse/DROOLS-4542
> Project: Drools
> Issue Type: Bug
> Components: core engine, executable model
> Affects Versions: 7.24.0.Final, 7.27.0.Final
> Environment: - 7.24.0.Final and later version
> - building executable model
> - dialect "mvel"
> Reporter: Hiroko Miura
> Assignee: Mario Fusco
> Priority: Major
> Labels: support
> Attachments: generateModel-build-error.zip
>
>
> The following expression on update of Map in RHS causes an error when building executable model.
> * Pattern1
> {noformat}
> m.mapVal["rule1"] = "value1";
> {noformat}
> * Error1 (NPE)
> {noformat}
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.: NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.
> {noformat}
> or
> * Pattern2
> {noformat}
> m.getMapVal().put( "rule2", "value2" );
> {noformat}
> * Error2
> {noformat}
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: A type incompatibility occurred while executing org.kie:kie-maven-plugin:7.24.0.Final:generateModel: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
> {noformat}
> This does not happen with 7.23.0.Final.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (DROOLS-4542) Executable model compilation fails with map modification in action
by Hiroko Miura (Jira)
[ https://issues.jboss.org/browse/DROOLS-4542?page=com.atlassian.jira.plugi... ]
Hiroko Miura updated DROOLS-4542:
---------------------------------
Description:
The following expression on update of Map in RHS causes an error when building executable model.
* Pattern1
{noformat}
m.mapVal["rule1"] = "value1";
{noformat}
* Error1 (NPE)
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.
{noformat}
or
* Pattern2
{noformat}
m.getMapVal().put( "rule2", "value2" );
{noformat}
* Error2
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: A type incompatibility occurred while executing org.kie:kie-maven-plugin:7.24.0.Final:generateModel: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
{noformat}
This does not happen with 7.23.0.Final.
was:
The following expression on update of Map in RHS cause error when bulding executable model.
* Pattern1
{noformat}
m.mapVal["rule1"] = "value1";
{noformat}
* Error1 (NPE)
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.
{noformat}
or
* Pattern2
{noformat}
m.getMapVal().put( "rule2", "value2" );
{noformat}
* Error2
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: A type incompatibility occurred while executing org.kie:kie-maven-plugin:7.24.0.Final:generateModel: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
{noformat}
This does not happen with 7.23.0.Final.
> Executable model compilation fails with map modification in action
> ------------------------------------------------------------------
>
> Key: DROOLS-4542
> URL: https://issues.jboss.org/browse/DROOLS-4542
> Project: Drools
> Issue Type: Bug
> Components: core engine, executable model
> Affects Versions: 7.24.0.Final, 7.27.0.Final
> Environment: - 7.24.0.Final and later version
> - building executable model
> Reporter: Hiroko Miura
> Assignee: Mario Fusco
> Priority: Major
> Labels: support
> Attachments: generateModel-build-error.zip
>
>
> The following expression on update of Map in RHS causes an error when building executable model.
> * Pattern1
> {noformat}
> m.mapVal["rule1"] = "value1";
> {noformat}
> * Error1 (NPE)
> {noformat}
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.: NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.
> {noformat}
> or
> * Pattern2
> {noformat}
> m.getMapVal().put( "rule2", "value2" );
> {noformat}
> * Error2
> {noformat}
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: A type incompatibility occurred while executing org.kie:kie-maven-plugin:7.24.0.Final:generateModel: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
> {noformat}
> This does not happen with 7.23.0.Final.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (DROOLS-4543) Executable model compilation fails with map modification in action
by Hiroko Miura (Jira)
Hiroko Miura created DROOLS-4543:
------------------------------------
Summary: Executable model compilation fails with map modification in action
Key: DROOLS-4543
URL: https://issues.jboss.org/browse/DROOLS-4543
Project: Drools
Issue Type: Bug
Components: core engine, executable model
Affects Versions: 7.24.0.Final, 7.27.0.Final
Environment: - 7.24.0.Final and later version
- building executable model
Reporter: Hiroko Miura
Assignee: Mario Fusco
The following expression on update of Map in RHS causes an error when building executable model.
* Pattern1
{noformat}
m.mapVal["rule1"] = "value1";
{noformat}
* Error1 (NPE)
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.
{noformat}
or
* Pattern2
{noformat}
m.getMapVal().put( "rule2", "value2" );
{noformat}
* Error2
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: A type incompatibility occurred while executing org.kie:kie-maven-plugin:7.24.0.Final:generateModel: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
{noformat}
This does not happen with 7.23.0.Final.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (DROOLS-4542) Executable model compilation fails with map modification in action
by Hiroko Miura (Jira)
Hiroko Miura created DROOLS-4542:
------------------------------------
Summary: Executable model compilation fails with map modification in action
Key: DROOLS-4542
URL: https://issues.jboss.org/browse/DROOLS-4542
Project: Drools
Issue Type: Bug
Components: core engine, executable model
Affects Versions: 7.27.0.Final, 7.24.0.Final
Environment: - 7.24.0.Final and later version
- building executable model
Reporter: Hiroko Miura
Assignee: Mario Fusco
Attachments: generateModel-build-error.zip
The following expression on update of Map in RHS cause error when bulding executable model.
* Pattern1
{noformat}
m.mapVal["rule1"] = "value1";
{noformat}
* Error1 (NPE)
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.
{noformat}
or
* Pattern2
{noformat}
m.getMapVal().put( "rule2", "value2" );
{noformat}
* Error2
{noformat}
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: A type incompatibility occurred while executing org.kie:kie-maven-plugin:7.24.0.Final:generateModel: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
{noformat}
This does not happen with 7.23.0.Final.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (DROOLS-3652) DMN popover - Enter to apply
by Daniel José dos Santos (Jira)
[ https://issues.jboss.org/browse/DROOLS-3652?page=com.atlassian.jira.plugi... ]
Daniel José dos Santos commented on DROOLS-3652:
------------------------------------------------
So this JIRA should adds the submit buttons and the close too? Is not clear to me.
[~uxdlc]
> DMN popover - Enter to apply
> -----------------------------
>
> Key: DROOLS-3652
> URL: https://issues.jboss.org/browse/DROOLS-3652
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Reporter: Elizabeth Clayton
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: UX, drools-tools
> Attachments: Screen Shot 2019-02-13 at 1.20.35 PM.png
>
>
> When the user changes the field value (name in this example), it would be nice if hitting ENTER would apply the name, and take the focus highlight off. The other field is being applied dynamically, so the assumption is that this one is as well.
> !Screen Shot 2019-02-13 at 1.20.35 PM.png|thumbnail!
> p.s. this is the pop-over that needs to be updated to support Expression instead of Name.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (DROOLS-4056) DMN Editor: Keyboard shortcut functionality on mouse initiated focus.
by Daniel José dos Santos (Jira)
[ https://issues.jboss.org/browse/DROOLS-4056?page=com.atlassian.jira.plugi... ]
Daniel José dos Santos updated DROOLS-4056:
-------------------------------------------
Attachment: ctrls.gif
> DMN Editor: Keyboard shortcut functionality on mouse initiated focus.
> ---------------------------------------------------------------------
>
> Key: DROOLS-4056
> URL: https://issues.jboss.org/browse/DROOLS-4056
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Elizabeth Clayton
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: Field, FieldEnablementFeedback, UX, drools-tools
> Attachments: ctrls.gif
>
>
> Keyboard shortcut works only when arrow keys are used to focus on the DMN type element. If the user start editing a field with mouse and type "CTRL-S" to save it, the shortcut does not work.
> Note: Team invested CTRL-S, but there was some potential conflict with built in browser controls.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (DROOLS-4056) DMN Editor: Keyboard shortcut functionality on mouse initiated focus.
by Daniel José dos Santos (Jira)
[ https://issues.jboss.org/browse/DROOLS-4056?page=com.atlassian.jira.plugi... ]
Daniel José dos Santos commented on DROOLS-4056:
------------------------------------------------
I think this is already fixed.
!ctrls.gif!
[~jomarko]
> DMN Editor: Keyboard shortcut functionality on mouse initiated focus.
> ---------------------------------------------------------------------
>
> Key: DROOLS-4056
> URL: https://issues.jboss.org/browse/DROOLS-4056
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Elizabeth Clayton
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: Field, FieldEnablementFeedback, UX, drools-tools
> Attachments: ctrls.gif
>
>
> Keyboard shortcut works only when arrow keys are used to focus on the DMN type element. If the user start editing a field with mouse and type "CTRL-S" to save it, the shortcut does not work.
> Note: Team invested CTRL-S, but there was some potential conflict with built in browser controls.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months