Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044754 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Barcode generation in reports | major | have not tried | 2020-08-05 10:58 | 2020-08-28 14:57 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
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 | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0044754: 2 jar libraries related to batik cause split package problem (batik-ext-1.7.jar, xml-apis-1.3.04.jar) | |||||||
Description | The version of batik 1.7 and related xml-* jar file cause split package problem with jdk system image. Collides with packages:['org.w3c.dom', 'org.w3c.dom.events'] Collides with packages:['javax.xml', 'javax.xml.datatype', 'javax.xml.namespace', 'javax.xml.parsers', 'javax.xml.transform', 'javax.xml.transform.dom', 'javax.xml.transform.sax', 'javax.xml.transform.stream', 'javax.xml.validation', 'javax.xml.xpath', 'org.w3c.dom', 'org.w3c.dom.bootstrap', 'org.w3c.dom.css', 'org.w3c.dom.events', 'org.w3c.dom.html', 'org.w3c.dom.ls', 'org.w3c.dom.ranges', 'org.w3c.dom.stylesheets', 'org.w3c.dom.traversal', 'org.w3c.dom.views', 'org.w3c.dom.xpath', 'org.xml.sax', 'org.xml.sax.ext', 'org.xml.sax.helpers'] Checking upstream changes that seems fixed since version 1.11 of that project. http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/CHANGES [^] https://issues.apache.org/jira/browse/BATIK-1249 [^] https://xmlgraphics.apache.org/batik/ [^] | |||||||
Steps To Reproduce | There is an utility script in this repo checking jar libraries and raising the split package situations: https://gitlab.com/openbravo/tools/platform/jar-collision-finder [^] [^] | |||||||
Proposed Solution | Currently it is not possible to upgrade the batik library as the current version of the jasper library in core depends on batik 1.7 (see 0044869 for more details) The alternative is to remove the problematic libraries as it seems they're not required for the barcode report generation | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
Notes | |
(0122268) hgbot (developer) 2020-08-21 18:00 |
Merge Request created: https://gitlab.com/openbravo/product/mods/org.openbravo.service.reporting.barcode/-/merge_requests/1 [^] |
(0122431) hgbot (developer) 2020-08-28 14:57 |
Merge request merged: https://gitlab.com/openbravo/product/mods/org.openbravo.service.reporting.barcode/-/merge_requests/1 [^] |
(0122432) hgbot (developer) 2020-08-28 14:57 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/mods/org.openbravo.service.reporting.barcode [^] Changeset: 094e2d4b3271bacdde67121e17c2b4cb935822b9 Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 2020-08-21T17:46:46+02:00 URL: https://gitlab.com/openbravo/product/mods/org.openbravo.service.reporting.barcode/-/commit/094e2d4b3271bacdde67121e17c2b4cb935822b9 [^] fixes BUG-44754: remove jar libraries causing split package problem The batik-ext-1.7 and xml-apis-1.3.04 .jar files were causing JDK split package problems. This problem is solved starting from version 1.11 of batik but currently it is not possible to upgrade to that version as current version of the jasper library used in core depends on batik 1.7, mainly because some classes that have been repackaged (example: org.apache.batik.dom.svg.SAXSVGDocumentFactory -> org.apache.batik.anim.dom.SAXSVGDocumentFactory). Upgrading to a version higher than 1.7 makes barcode generation in jasper report to fail. For this reason, we've decided to eventually delete the problematic libraries as it seems that the're not needed for the barcode generation in reports which indeed is the purpose of the module. --- M legal/Licensing.txt R lib/runtime/batik-ext-1.7.jar R lib/runtime/xml-apis-1.3.04.jar --- |
Issue History | |||
Date Modified | Username | Field | Change |
2020-08-05 10:58 | shuehner | New Issue | |
2020-08-05 10:58 | shuehner | Assigned To | => platform |
2020-08-05 10:59 | shuehner | Relationship added | blocks 0044733 |
2020-08-05 10:59 | shuehner | Summary | 2 jar libraries related to baik cause split package problem (batik-ext-1.7.jar, xml-apis-1.3.04.jar) => 2 jar libraries related to batik cause split package problem (batik-ext-1.7.jar, xml-apis-1.3.04.jar) |
2020-08-05 11:00 | shuehner | Assigned To | platform => caristu |
2020-08-05 11:00 | shuehner | Description Updated | View Revisions |
2020-08-21 18:00 | hgbot | Note Added: 0122268 | |
2020-08-21 18:09 | caristu | Issue cloned | 0044869 |
2020-08-21 18:09 | caristu | Relationship added | related to 0044869 |
2020-08-21 18:11 | caristu | Description Updated | View Revisions |
2020-08-21 18:11 | caristu | Proposed Solution updated | |
2020-08-28 14:57 | hgbot | Resolution | open => fixed |
2020-08-28 14:57 | hgbot | Note Added: 0122431 | |
2020-08-28 14:57 | hgbot | Status | new => closed |
2020-08-28 14:57 | hgbot | Note Added: 0122432 |
Copyright © 2000 - 2009 MantisBT Group |