Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048335 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2021-12-29 09:57 | 2022-10-18 13:53 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048335: AllJrxmlCompilation test should skip jrxml files intended to only be compiled with hwmanager functionality | |||||||
Description | hwmanager module has a feature that allows using jrxml as printing templates. The jrxmls intended to be used with this feature, import and use hwmanager only classes and functionality, resulting in the test failing, because the test doesn't know anything related with hwmanager and only has backoffice functionality. As such, the AllJrxmlCompilation test should skip all this files that use hwmanager classes and functionality due to it not being intended to compile this files. It fails with the following errors when trying to compile this type of files: - java.lang.ClassNotFoundException: com.openbravo.pos.printjrxml.JRJsonDatasource - com.openbravo.pos.printer.ticket.PrintItemBarcode cannot be resolved to a type | |||||||
Steps To Reproduce | Run AllJrxmlCompilation test with at least one jrxml that has pos.printjrxml or pos.printer functionality from hwmanager. | |||||||
Proposed Solution | Skip tests that include com.openbravo.pos package or classes in them, as they will never be able to fulfill these imports from this test. A patch has been provided attached here. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0134037) hgbot (developer) 2021-12-29 10:00 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/485 [^] |
(0142230) hgbot (developer) 2022-10-18 13:53 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 829176af51eed85599f12c86acef5bf06d8cc538 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 18-10-2022 11:53:51 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/829176af51eed85599f12c86acef5bf06d8cc538 [^] Fixes FR-48335: AllJrxmlCompilation test should skip hwmanager printing reports Those type of jrxmls were including hwmanager only classes and libraries, resulting in always generating errors when the test executed and this type of files were present, so to deal with this part, we skip the files that include com.openbravo.pos functionality in them. --- M src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java --- |
(0142231) hgbot (developer) 2022-10-18 13:53 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/485 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-12-29 09:57 | cberner | New Issue | |
2021-12-29 09:57 | cberner | Assigned To | => Triage Platform Base |
2021-12-29 09:57 | cberner | File Added: patchAllJrxmlCompilation.diff | |
2021-12-29 09:57 | cberner | OBNetwork customer | => No |
2021-12-29 09:57 | cberner | Modules | => Core |
2021-12-29 09:57 | cberner | Triggers an Emergency Pack | => No |
2021-12-29 09:57 | cberner | Assigned To | Triage Platform Base => cberner |
2021-12-29 09:57 | cberner | Status | new => acknowledged |
2021-12-29 10:00 | hgbot | Merge Request Status | => open |
2021-12-29 10:00 | hgbot | Note Added: 0134037 | |
2021-12-30 13:17 | shuehner | Issue Monitored: shuehner | |
2022-01-12 11:56 | cberner | Status | acknowledged => scheduled |
2022-10-18 13:47 | hgbot | Merge Request Status | open => approved |
2022-10-18 13:53 | hgbot | Resolution | open => fixed |
2022-10-18 13:53 | hgbot | Status | scheduled => closed |
2022-10-18 13:53 | hgbot | Fixed in Version | => PR23Q1 |
2022-10-18 13:53 | hgbot | Note Added: 0142230 | |
2022-10-18 13:53 | hgbot | Note Added: 0142231 |
Copyright © 2000 - 2009 MantisBT Group |