Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0041125 | Openbravo ERP | A. Platform | public | 2019-06-19 11:27 | 2019-06-24 17:01 | 
  | 
| Reporter | caristu |   | 
| Assigned To | caristu |   | 
| Priority | immediate | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version | 3.0PR19Q2.1 | Fixed in Version |  |   | 
| Merge Request Status |  | 
| Review Assigned To | AugustoMauch | 
| OBNetwork customer | No | 
| Web browser |  | 
| Modules | Core | 
| Support ticket |  | 
| Regression level | Pre packaging ( pi ) | 
| Regression date | 2019-04-18 | 
| Regression introduced in release | pi | 
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/08db5ae97ad2b0fb0c4499b630018a9bc0c0166f [^] | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0041125: Not possible to install modules with MMC having XSL processor in classpath which does not support all the standard attributes | 
| Description | 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. | 
| Steps To Reproduce | 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 [^] | 
| Proposed Solution | Catch the IllegalArgumentException thrown when the attribute is not recognized. See: https://docs.oracle.com/javase/tutorial/jaxp/properties/usingProps.html [^] | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | blocks  | defect  | 0041124 |   | closed  | caristu  | Not possible to install modules with MMC having XSL processor in classpath which does not support all the standard attributes  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2019-06-19 11:30 | caristu | Type | defect => backport | 
| 2019-06-19 11:30 | caristu | Target Version |  => 3.0PR19Q2.1 | 
| 2019-06-19 13:01 | hgbot | Checkin |  | 
| 2019-06-19 13:01 | hgbot | Note Added: 0112890 |  | 
| 2019-06-19 13:01 | hgbot | Status | scheduled => resolved | 
| 2019-06-19 13:01 | hgbot | Resolution | open => fixed | 
| 2019-06-19 13:01 | hgbot | Fixed in SCM revision |  => http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/cc69089bb4382dd93d74922c18649b0e8e778cdd [^] | 
| 2019-06-19 13:01 | caristu | Review Assigned To |  => AugustoMauch | 
| 2019-06-19 13:06 | caristu | Proposed Solution updated |  | 
| 2019-06-24 17:01 | AugustoMauch | Note Added: 0112981 |  | 
| 2019-06-24 17:01 | AugustoMauch | Status | resolved => closed |