[Red Hat JIRA] (DROOLS-5955) KieScanner not properly updating model assets (classes) on incremental updates
by B Brown (Jira)
[ https://issues.redhat.com/browse/DROOLS-5955?page=com.atlassian.jira.plug... ]
B Brown updated DROOLS-5955:
----------------------------
Attachment: TestScannerUpdate-1.0.0-SNAPSHOT.jar
> KieScanner not properly updating model assets (classes) on incremental updates
> ------------------------------------------------------------------------------
>
> Key: DROOLS-5955
> URL: https://issues.redhat.com/browse/DROOLS-5955
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.48.0.Final
> Reporter: B Brown
> Assignee: Mario Fusco
> Priority: Major
> Attachments: LogFile.txt, RunTest.java, TestScannerUpdate-1.0.0-SNAPSHOT.jar
>
>
> KieScanner is not correctly applying incremental kjar updates to KieContainer when those updates include changes to "Model" assets authored in Business Central.
> Adding a new field to a model in business central, then updating a rule to reference that value will work the first time. If you repeat this again, adding another new field and new reference in a rule, after updating the KieContainer using KieScanner, executing fireAllRules on a new session will fail with an exception, claiming it cannot find the setter method for the new attribute.
> It is expected that the KieScanner should be able to take new kjars produced from BC and consistently update KieContainers with their updates. There is no workaround for this. Please refer to the "Steps to Reproduce". I've also attached the final kjar that caused the error, the main method that ran the test as well as the log file.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (DROOLS-5955) KieScanner not properly updating model assets (classes) on incremental updates
by B Brown (Jira)
[ https://issues.redhat.com/browse/DROOLS-5955?page=com.atlassian.jira.plug... ]
B Brown updated DROOLS-5955:
----------------------------
Attachment: LogFile.txt
> KieScanner not properly updating model assets (classes) on incremental updates
> ------------------------------------------------------------------------------
>
> Key: DROOLS-5955
> URL: https://issues.redhat.com/browse/DROOLS-5955
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.48.0.Final
> Reporter: B Brown
> Assignee: Mario Fusco
> Priority: Major
> Attachments: LogFile.txt, RunTest.java, TestScannerUpdate-1.0.0-SNAPSHOT.jar
>
>
> KieScanner is not correctly applying incremental kjar updates to KieContainer when those updates include changes to "Model" assets authored in Business Central.
> Adding a new field to a model in business central, then updating a rule to reference that value will work the first time. If you repeat this again, adding another new field and new reference in a rule, after updating the KieContainer using KieScanner, executing fireAllRules on a new session will fail with an exception, claiming it cannot find the setter method for the new attribute.
> It is expected that the KieScanner should be able to take new kjars produced from BC and consistently update KieContainers with their updates. There is no workaround for this. Please refer to the "Steps to Reproduce". I've also attached the final kjar that caused the error, the main method that ran the test as well as the log file.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (DROOLS-5955) KieScanner not properly updating model assets (classes) on incremental updates
by B Brown (Jira)
B Brown created DROOLS-5955:
-------------------------------
Summary: KieScanner not properly updating model assets (classes) on incremental updates
Key: DROOLS-5955
URL: https://issues.redhat.com/browse/DROOLS-5955
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.48.0.Final
Reporter: B Brown
Assignee: Mario Fusco
KieScanner is not correctly applying incremental kjar updates to KieContainer when those updates include changes to "Model" assets authored in Business Central.
Adding a new field to a model in business central, then updating a rule to reference that value will work the first time. If you repeat this again, adding another new field and new reference in a rule, after updating the KieContainer using KieScanner, executing fireAllRules on a new session will fail with an exception, claiming it cannot find the setter method for the new attribute.
It is expected that the KieScanner should be able to take new kjars produced from BC and consistently update KieContainers with their updates. There is no workaround for this. Please refer to the "Steps to Reproduce". I've also attached the final kjar that caused the error, the main method that ran the test as well as the log file.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (WFLY-14310) JPASubsystemAdd uses non-standard attribute value resolution
by Brian Stansberry (Jira)
Brian Stansberry created WFLY-14310:
---------------------------------------
Summary: JPASubsystemAdd uses non-standard attribute value resolution
Key: WFLY-14310
URL: https://issues.redhat.com/browse/WFLY-14310
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Reporter: Brian Stansberry
Assignee: Brian Stansberry
JPASubsystemAdd processes a couple attributes in non-standard ways, not using AttributeDefinition.resolveModelAttribute. The code handles the primary things resolveModelAttribute handles (default values and basic expression resolution) but it doesn't handle the full set of expression resolution capability WildFly supports.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (WFLY-14052) EE 9 jms/core20/jmscontexttopictests#getMetaDataTest tests expects JMS version 3.0 but is seeing 2.0
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-14052?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFLY-14052:
------------------------------------
Labels: EE9 (was: )
> EE 9 jms/core20/jmscontexttopictests#getMetaDataTest tests expects JMS version 3.0 but is seeing 2.0
> ----------------------------------------------------------------------------------------------------
>
> Key: WFLY-14052
> URL: https://issues.redhat.com/browse/WFLY-14052
> Project: WildFly
> Issue Type: Sub-task
> Components: JMS
> Reporter: Scott Marlow
> Assignee: Emmanuel Hugonnet
> Priority: Major
> Labels: EE9
>
> {quote}
> \u001b[0m\u001b[0m13:52:58,657 INFO [stdout] (Thread-161) 11-06-2020 13:52:58: ERROR: Error: incorrect JMSVersion=2.0
> \u001b[0m\u001b[0m13:52:58,657 INFO [stdout] (Thread-161) 11-06-2020 13:52:58: ERROR: Error: incorrect JMSMajorVersion=2
> \u001b[0m\u001b[0m13:52:58,657 INFO [stdout] (Thread-161) 11-06-2020 13:52:58: ERROR: getMetaDataTest failed
> \u001b[0m\u001b[0m13:52:58,658 INFO [stdout] (Thread-161) 11-06-2020 13:52:58: ERROR: Test case throws exception: getMetaDataTest failed
> \u001b[0m\u001b[0m13:52:58,658 INFO [stdout] (Thread-161) 11-06-2020 13:52:58: ERROR: Exception at:
> \u001b[0m\u001b[0m13:52:58,658 INFO [stdout] (Thread-161) 11-06-2020 13:52:58: ERROR: com.sun.ts.lib.harness.EETest$Fault: getMetaDataTest failed
> \u001b[0m\u001b[0m13:52:58,658 INFO [stdout] (Thread-161) at com.sun.ts.tests.jms.core20.jmscontexttopictests.Client.getMetaDataTest(Client.java:475)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at java.lang.reflect.Method.invoke(Method.java:498)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> \u001b[0m\u001b[0m13:52:58,659 INFO [stdout] (Thread-161) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> \u001b[0m\u001b[0m13:52:58,660 INFO [stdout] (Thread-161) at java.lang.reflect.Method.invoke(Method.java:498)
> \u001b[0m\u001b[0m13:52:58,660 INFO [stdout] (Thread-161) at org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:99)
> \u001b[0m\u001b[0m13:52:58,660 INFO [stdout] (Thread-161) at java.lang.Thread.run(Thread.java:748)
> {quote}
> [jakarta.jms.ConnectionMetaData.classConnectionMetaData|https://jakarta.ee/specifications/messaging/3.0/apidocs/] is returning Jakarta EE 8 versions instead of Jakarta EE 9.0 versions
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months