Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048335Openbravo ERPA. Platformpublic2021-12-29 09:572022-01-12 11:56
normalminorhave not tried
0048335: AllJrxmlCompilation test should skip jrxml files intended to only be compiled with hwmanager functionality
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
Run AllJrxmlCompilation test with at least one jrxml that has pos.printjrxml or pos.printer functionality from hwmanager.
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.
No tags attached.
diff patchAllJrxmlCompilation.diff (2,413) 2021-12-29 09:57
Issue History
2021-12-29 09:57cbernerNew Issue
2021-12-29 09:57cbernerAssigned To => Triage Platform Base
2021-12-29 09:57cbernerFile Added: patchAllJrxmlCompilation.diff
2021-12-29 09:57cbernerModules => Core
2021-12-29 09:57cbernerTriggers an Emergency Pack => No
2021-12-29 09:57cbernerAssigned ToTriage Platform Base => cberner
2021-12-29 09:57cbernerStatusnew => acknowledged
2021-12-29 10:00hgbotNote Added: 0134037
2021-12-30 13:17shuehnerIssue Monitored: shuehner
2022-01-12 11:56cbernerStatusacknowledged => scheduled

2021-12-29 10:00   
Merge Request created: [^]