Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041124Openbravo ERPA. Platformpublic2019-06-19 11:272019-06-21 14:40
caristu 
caristu 
immediateminoralways
closedfixed 
5
 
3.0PR19Q3 
AugustoMauch
Core
Pre packaging ( pi )
2019-04-18
pi
https://code.openbravo.com/erp/devel/pi/rev/08db5ae97ad2b0fb0c4499b630018a9bc0c0166f [^]
No
0041124: Not possible to install modules with MMC having XSL processor in classpath which does not support all the standard attributes
If there is an XSL processor library in the classpath that provides a TrasnformerFactory implementation which is not able to handle the standard attributes configured in XMLUtil class, then this class is not able to provide a TransformerFactory instance.

Under this scenario, those parts of the application (like the MMC) that use XMLUtil to retrieve a TransformerFactory will not work properly.
0) Copy the following libraries[1],[2] into lib/runtime folder and run ant compile.complete
1) Login
2) Go to the MMC window and try to install any module. The attached error will be shown.


[1] https://mvnrepository.com/artifact/xalan/xalan/2.7.1 [^]
[2] https://mvnrepository.com/artifact/xalan/serializer/2.7.1 [^]
Catch the IllegalArgumentException thrown when the attribute is not recognized. See: https://docs.oracle.com/javase/tutorial/jaxp/properties/usingProps.html [^]
No tags attached.
depends on backport 00411253.0PR19Q2.1 closed caristu Not possible to install modules with MMC having XSL processor in classpath which does not support all the standard attributes 
depends on backport 00411263.0PR19Q1.2 closed caristu Not possible to install modules with MMC having XSL processor in classpath which does not support all the standard attributes 
caused by defect 0040642 closed alostale centralize in XMLUtils creation of objects to deal with XML documents 
png moduleDetailError.png (36,853) 2019-06-19 11:27
https://issues.openbravo.com/file_download.php?file_id=13025&type=bug
png
Issue History
2019-06-19 11:27caristuNew Issue
2019-06-19 11:27caristuAssigned To => platform
2019-06-19 11:27caristuFile Added: moduleDetailError.png
2019-06-19 11:27caristuModules => Core
2019-06-19 11:27caristuTriggers an Emergency Pack => No
2019-06-19 11:28caristuAssigned Toplatform => caristu
2019-06-19 11:29caristuRegression level => Pre packaging ( pi )
2019-06-19 11:29caristuRegression date => 2019-04-18
2019-06-19 11:29caristuRegression introduced in release => pi
2019-06-19 11:29caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/08db5ae97ad2b0fb0c4499b630018a9bc0c0166f [^]
2019-06-19 11:29caristuRelationship addedcaused by 0040642
2019-06-19 11:30caristuStatusnew => scheduled
2019-06-19 11:37hgbotCheckin
2019-06-19 11:37hgbotNote Added: 0112883
2019-06-19 11:37hgbotStatusscheduled => resolved
2019-06-19 11:37hgbotResolutionopen => fixed
2019-06-19 11:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/afe240a1304e930f55fb8a54055096b1d7ce79fb [^]
2019-06-19 11:38caristuReview Assigned To => AugustoMauch
2019-06-19 11:46ngarciaIssue Monitored: ngarcia
2019-06-19 13:05caristuProposed Solution updated
2019-06-19 16:02hudsonbotCheckin
2019-06-19 16:02hudsonbotNote Added: 0112897
2019-06-21 14:40AugustoMauchNote Added: 0112944
2019-06-21 14:40AugustoMauchStatusresolved => closed
2019-06-21 14:40AugustoMauchFixed in Version => 3.0PR19Q3

Notes
(0112883)
hgbot   
2019-06-19 11:37   
Repository: erp/devel/pi
Changeset: afe240a1304e930f55fb8a54055096b1d7ce79fb
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Jun 19 11:33:03 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/afe240a1304e930f55fb8a54055096b1d7ce79fb [^]

fixes bug 41124: Don't fail if can't set a TransformerFactory attribute

  In case the TransformerFactory underlying implementation does not recognize an attribute, do not fail and handle the error showing a warning message.

---
M src/org/openbravo/dal/xml/XMLUtil.java
---
(0112897)
hudsonbot   
2019-06-19 16:02   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5a31264dd0f8 [^]
Maturity status: Test
(0112944)
AugustoMauch   
2019-06-21 14:40   
Code reviewed and verified