Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0053411 | Openbravo ERP | A. Platform | public | 2023-09-07 12:02 | 2023-09-19 11:01 |
|
Reporter | caristu | |
Assigned To | Triage Platform Base | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR23Q4 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0053411: Some test cases using mockito fails with JDK22 |
Description | Some test cases using mockito fails with JDK22 |
Steps To Reproduce | 1) Using JDK22 run the HttpExternalSystemCommunication test. Note that it fails with the following error (full stack trace attached):
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class java.lang.Object, class org.openbravo.service.externalsystem.ExternalSystem, class org.openbravo.service.externalsystem.http.HttpExternalSystem] |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0048610 | | closed | Triage Platform Base | Provide a mocking library for junit tests | related to | defect | 0053488 | | new | Triage Platform Base | Remove "net.bytebuddy.experimental" flag usage | related to | defect | 0048994 | | closed | caristu | Include Push API tests using mockito |
|
Attached Files | stackTrace.txt (12,915) 2023-09-07 13:10 https://issues.openbravo.com/file_download.php?file_id=18937&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2023-09-07 12:02 | caristu | New Issue | |
2023-09-07 12:02 | caristu | Assigned To | => Triage Platform Base |
2023-09-07 12:02 | caristu | Modules | => Core |
2023-09-07 12:02 | caristu | Triggers an Emergency Pack | => No |
2023-09-07 12:02 | caristu | Issue generated from | 0048610 |
2023-09-07 12:02 | caristu | Relationship added | related to 0048610 |
2023-09-07 12:04 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=26787#r26787 |
2023-09-07 12:08 | hgbot | Note Added: 0154583 | |
2023-09-07 12:09 | caristu | Note Added: 0154584 | |
2023-09-07 12:28 | shuehner | Issue Monitored: shuehner | |
2023-09-07 13:10 | caristu | File Added: stackTrace.txt | |
2023-09-12 15:40 | hgbot | Note Added: 0154742 | |
2023-09-14 18:09 | hgbot | Note Added: 0154866 | |
2023-09-14 18:09 | hgbot | Resolution | open => fixed |
2023-09-14 18:09 | hgbot | Status | new => closed |
2023-09-14 18:09 | hgbot | Fixed in Version | => PR23Q4 |
2023-09-14 18:09 | hgbot | Note Added: 0154867 | |
2023-09-14 18:16 | hgbot | Note Added: 0154868 | |
2023-09-19 11:01 | caristu | Issue cloned | 0053488 |
2023-09-19 11:01 | caristu | Relationship added | related to 0053488 |
2023-10-13 11:58 | caristu | Relationship added | related to 0048994 |
Notes |
|
(0154583)
|
hgbot
|
2023-09-07 12:08
|
|
|
|
|
|
|
(0154742)
|
hgbot
|
2023-09-12 15:40
|
|
|
|
(0154866)
|
hgbot
|
2023-09-14 18:09
|
|
|
|
(0154867)
|
hgbot
|
2023-09-14 18:09
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 99f934a7b92fbb237ca00776b22369e5c3e00620
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 14-09-2023 16:09:44
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/99f934a7b92fbb237ca00776b22369e5c3e00620 [^]
Fixes BUG-53411: avoid failures in some mockito tests with JDK 22
Make some test cases using mockito pass with JDK22 when they are
executed from the command line by enabling the
net.bytebuddy.experimental flag temporarily until this issue is fixed in
the mockito library itself.
It also reactivates the previously ignored tests.
---
M src-test/build.xml
M src-test/src/org/openbravo/service/externalsystem/http/HttpExternalSystemCommunicationTest.java
M src-test/src/org/openbravo/synchronization/event/SynchronizationEventTest.java
---
|
|
|
(0154868)
|
hgbot
|
2023-09-14 18:16
|
|
|