[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 updated DROOLS-3560:
--------------------------------
Sprint: 2019 Week 05-07
> 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
[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)
Mario Fusco created DROOLS-3560:
-----------------------------------
Summary: 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
[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] (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 updated WFLY-11565:
-------------------------------
Attachment: API.war
> 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] (SWSQE-575) UI automation - Modify test_about to support Maistra
by Hayk Hovsepyan (Jira)
Hayk Hovsepyan created SWSQE-575:
------------------------------------
Summary: UI automation - Modify test_about to support Maistra
Key: SWSQE-575
URL: https://issues.jboss.org/browse/SWSQE-575
Project: Kiali QE
Issue Type: QE Task
Reporter: Hayk Hovsepyan
Assignee: Michael Foley
Currently 'test_about' is designed for Istio upstream versions only.
Modify it to support also running on Maistra projects, so do not fail in both cases.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months