Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040255
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminorhave not tried2019-02-21 19:042019-02-22 09:06
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0PR19Q1
StatusclosedFix in branchFixed in SCM revisionfba4aab80022
ProjectionnoneETAnoneTarget Version3.0PR19Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040255: It is not needed to include the woodstox library in the runtime classpath

DescriptionWhen deploying the context, all the libraries inside "src-db/database/lib" are deployed into WEB-INF/lib.

This is because it is needed to have some of them included in the runtime classpath because they are required by some features:

- Installing a module from an obx file using the MMC
- Easy Extensible Attributes[1] module

But the woodstox library (wstx-asl-3.0.2.jar) is not required at runtime by any feature in particular. Note that the StaxXMLEntityConverter[2] can retrieve any other available XML reader for its processing.

[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/Easy-Extensible-Attributes [^]
[2] https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/dal/xml/StaxXMLEntityConverter.java#l252 [^]
Steps To ReproduceIn description
Proposed SolutionAvoid the deployment of the libraries inside src-db/database/lib which are not required at runtime, i.e, do not deploy the wstx-asl-3.0.2.jar file.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0040246 closedcaristu It is not needed to include the woodstox library in the runtime classpath 

-  Notes
(0110008)
hgbot (developer)
2019-02-21 19:06

Repository: erp/backports/3.0PR19Q1
Changeset: fba4aab80022bf7bd1ce675c076d830066e0094a
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Feb 21 19:05:49 2019 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/fba4aab80022bf7bd1ce675c076d830066e0094a [^]

fixes issue 40255: The woodstox library is not required at runtime

The woodstox library which provides an implementation of the Stax XML API is used by DBSM for export/import taks but it is not required at runtime. Therefore, now we are not copying it when deploying the context.

---
M src/build.xml
---
(0110015)
alostale (developer)
2019-02-22 09:06

reviewed + tested

- Issue History
Date Modified Username Field Change
2019-02-21 19:04 caristu New Issue
2019-02-21 19:04 caristu Assigned To => caristu
2019-02-21 19:04 caristu Modules => Core
2019-02-21 19:04 caristu Triggers an Emergency Pack => No
2019-02-21 19:04 caristu Issue generated from 0040246
2019-02-21 19:04 caristu Relationship added blocks 0040246
2019-02-21 19:06 hgbot Checkin
2019-02-21 19:06 hgbot Note Added: 0110008
2019-02-21 19:06 hgbot Status new => resolved
2019-02-21 19:06 hgbot Resolution open => fixed
2019-02-21 19:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/fba4aab80022bf7bd1ce675c076d830066e0094a [^]
2019-02-21 19:06 caristu Review Assigned To => alostale
2019-02-22 09:06 alostale Note Added: 0110015
2019-02-22 09:06 alostale Status resolved => closed
2019-02-22 09:06 alostale Fixed in Version => 3.0PR19Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker