[JBoss JIRA] (DROOLS-3125) [DMN Designer][Edge] Cancel data type edit operation throws an error
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3125?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro reassigned DROOLS-3125:
------------------------------------------
Assignee: Daniel José dos Santos (was: Guilherme Carreiro)
> [DMN Designer][Edge] Cancel data type edit operation throws an error
> --------------------------------------------------------------------
>
> Key: DROOLS-3125
> URL: https://issues.jboss.org/browse/DROOLS-3125
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Environment: Windows, Edge
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: drools-tools, edge
> Attachments: Screenshot from 2018-10-12 10-42-53.png
>
>
> If user tries to cancel data type edit operation, the unexpected error dialog appears and contains this error message:
> *Uncaught exception: Exception caught: (Error) : Could not complete the operation due to error 800a025e. Caused by: (Error) : Could not complete the operation due to error 800a025e.*
> Occurs just on Microsoft Edge
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3021) [DMN Designer] Data Types - Constraints - Enumeration component
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3021?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro reassigned DROOLS-3021:
------------------------------------------
Assignee: Guilherme Carreiro (was: Daniel José dos Santos)
> [DMN Designer] Data Types - Constraints - Enumeration component
> ---------------------------------------------------------------
>
> Key: DROOLS-3021
> URL: https://issues.jboss.org/browse/DROOLS-3021
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: future.png, prototype.png
>
>
> - When "Enumeration" is selected in the Constraints dialog, the following component must be loaded;
> !prototype.png|thumbnail!
> - The component contains a dynamic list to insert the possible values
> - The input is a simple input without any validation
> This component must be made considering that in the future, each kind of data will support a specific component (see the following example considering {{date}}):
> !future.png|thumbnail!
> ⚠️ This JIRA does not comprehends the widget that appears in the {{future.png}} file. This JIRA comprehends the only what appears in the {{prototype.png}} file.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3517) [DMN Designer] Data Types - Constraints - Constraint property
by Daniel José dos Santos (Jira)
[ https://issues.jboss.org/browse/DROOLS-3517?page=com.atlassian.jira.plugi... ]
Daniel José dos Santos updated DROOLS-3517:
-------------------------------------------
Story Points: 1 (was: 3)
> [DMN Designer] Data Types - Constraints - Constraint property
> -------------------------------------------------------------
>
> Key: DROOLS-3517
> URL: https://issues.jboss.org/browse/DROOLS-3517
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: drools-tools
>
> Currently the _Constraint dialog_ infers the {{Constraint type}} based on the value.
> - A new property ({{kie:constraintType}}) needs to be added in the in {{itemDefinition.allowedValues}} element. See how the DMN file will look like:
> {noformat}
> <?xml version="1.0" ?>
> <dmn:definitions ...>
> <dmn:itemDefinition id="_C9B6988F-0302" name="tNum" isCollection="false">
> <dmn:typeRef>number</dmn:typeRef>
> <dmn:allowedValues kie:constraintType="range" id="_F7A1878D-A464">
> <dmn:text>(1..200)</dmn:text>
> </dmn:allowedValues>
> </dmn:itemDefinition>
> <dmndi:DMNDI>
> <dmndi:DMNDiagram></dmndi:DMNDiagram>
> </dmndi:DMNDI>
> </dmn:definitions>
> {noformat}
> - Update the {{DataType}} class with the new property (from {{ItemDefinition.allowedValues}});
> - Use the new property in the {{DataTypeConstraintModal}} class to load the right component (instead of inferring the type).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3561) Compiler error in executable model when there is a clash between a field and a class name
by Hiroko Miura (Jira)
Hiroko Miura created DROOLS-3561:
------------------------------------
Summary: Compiler error in executable model when there is a clash between a field and a class name
Key: DROOLS-3561
URL: https://issues.jboss.org/browse/DROOLS-3561
Project: Drools
Issue Type: Bug
Reporter: Hiroko Miura
Assignee: Mario Fusco
[ERROR] Unable to build KieBaseModel:rules
InvalidExpressionErrorResult: Unknown field HELLO on class java.lang.String
InvalidExpressionErrorResult: Unknown field GOODBYE on class java.lang.String
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.207 s
[INFO] Finished at: 2019-01-28T18:10:43+09:00
[INFO] Final Memory: 64M/657M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.14.0.Final-redhat-00002:generateModel (default-generateModel) on project HelloWorld: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.14.0.Final-redhat-00002:generateModel failed: Unable to get KieModule, Errors Existed: Error Messages:
[ERROR] Message [id=1, kieBase=rules, level=ERROR, path=com/sample/Sample.drl, line=-1, column=0
[ERROR] text=Unknown field HELLO on class java.lang.String]
[ERROR] Message [id=2, kieBase=rules, level=ERROR, path=com/sample/Sample.drl, line=-1, column=0
[ERROR] text=Unknown field GOODBYE on class java.lang.String]
[ERROR] ---
[ERROR] Warning Messages:
[ERROR] ---
[ERROR] Info Messages:
...
Here is problematic DRL.
{code}
package com.sample
import com.sample.Message;
rule "Hello World"
when
m : Message( status == Message.HELLO, myMessage : message )
then
System.out.println( myMessage );
m.setMessage( "Goodbye cruel world" );
m.setStatus( Message.GOODBYE );
update( m );
end
rule "GoodBye"
when
Message( status == Message.GOODBYE, myMessage : message )
then
System.out.println( myMessage );
end
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3125) [DMN Designer][Edge] Cancel data type edit operation throws an error
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3125?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-3125:
---------------------------------------
Story Points: 2
> [DMN Designer][Edge] Cancel data type edit operation throws an error
> --------------------------------------------------------------------
>
> Key: DROOLS-3125
> URL: https://issues.jboss.org/browse/DROOLS-3125
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Environment: Windows, Edge
> Reporter: Jozef Marko
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools, edge
> Attachments: Screenshot from 2018-10-12 10-42-53.png
>
>
> If user tries to cancel data type edit operation, the unexpected error dialog appears and contains this error message:
> *Uncaught exception: Exception caught: (Error) : Could not complete the operation due to error 800a025e. Caused by: (Error) : Could not complete the operation due to error 800a025e.*
> Occurs just on Microsoft Edge
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (WFLY-11565) WildFly Server Adds Transfer Encoding Chunk Header to the HttpResponse with status code 204
by Deepak Sahu (Jira)
[ https://issues.jboss.org/browse/WFLY-11565?page=com.atlassian.jira.plugin... ]
Deepak Sahu commented on WFLY-11565:
------------------------------------
[~baranowb]
Sorry for the delay was busy with some other issues.
Please find the war file in the attachment. You need to deploy this in the standalone. The URL which you need to access to get 204 as the httpStatus code
http://localhost:7354/restApis/test?id=10
Let me know if you need any other information.
> WildFly Server Adds Transfer Encoding Chunk Header to the HttpResponse with status code 204
> -------------------------------------------------------------------------------------------
>
> Key: WFLY-11565
> URL: https://issues.jboss.org/browse/WFLY-11565
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.0.Final
> Reporter: Deepak Sahu
> Assignee: Bartosz Baranowski
> Priority: Major
> Attachments: API.war
>
>
> I am using WildFly Server 9.0.0 Final, Javax ws, Jersey for developing Rest APIs. For all the responses whose httpStatus code is 204, the wildfly server adds Transfer encoding Chunked in the response header, which is not correct as per the Rest Standards. Because of this behavior some of the RestAPI clients hang, as they keep waiting for the response (which is not at all there).
> To verify the issue, I tried the same with Springboot instead of deploying the war in WildFly and the Response Header was not added with Transfer Encoding Chuncked.
> Let me know if some other information is required to fix this issue, if this is already fixed is there any patch for this issue.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3560) Compiler error in executable model when there is a clash between a field and a class name
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-3560?page=com.atlassian.jira.plugi... ]
Mario Fusco resolved DROOLS-3560.
---------------------------------
Resolution: Done
Fixed by https://github.com/kiegroup/drools/commit/639519969d7e8fa8eaaff73d64e111e...
> Compiler error in executable model when there is a clash between a field and a class name
> -----------------------------------------------------------------------------------------
>
> Key: DROOLS-3560
> URL: https://issues.jboss.org/browse/DROOLS-3560
> Project: Drools
> Issue Type: Bug
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Priority: Major
>
> [ERROR] Unable to build KieBaseModel:rules
> InvalidExpressionErrorResult: Unknown field HELLO on class java.lang.String
> InvalidExpressionErrorResult: Unknown field GOODBYE on class java.lang.String
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.207 s
> [INFO] Finished at: 2019-01-28T18:10:43+09:00
> [INFO] Final Memory: 64M/657M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.14.0.Final-redhat-00002:generateModel (default-generateModel) on project HelloWorld: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.14.0.Final-redhat-00002:generateModel failed: Unable to get KieModule, Errors Existed: Error Messages:
> [ERROR] Message [id=1, kieBase=rules, level=ERROR, path=com/sample/Sample.drl, line=-1, column=0
> [ERROR] text=Unknown field HELLO on class java.lang.String]
> [ERROR] Message [id=2, kieBase=rules, level=ERROR, path=com/sample/Sample.drl, line=-1, column=0
> [ERROR] text=Unknown field GOODBYE on class java.lang.String]
> [ERROR] ---
> [ERROR] Warning Messages:
> [ERROR] ---
> [ERROR] Info Messages:
> ...
> Here is problematic DRL.
> {code}
> package com.sample
> import com.sample.Message;
> rule "Hello World"
> when
> m : Message( status == Message.HELLO, myMessage : message )
> then
> System.out.println( myMessage );
> m.setMessage( "Goodbye cruel world" );
> m.setStatus( Message.GOODBYE );
> update( m );
> end
> rule "GoodBye"
> when
> Message( status == Message.GOODBYE, myMessage : message )
> then
> System.out.println( myMessage );
> end
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months