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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012251
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2010-02-12 17:372010-03-10 18:30
ReporteriperdomoView Statuspublic 
Assigned Toiperdomo 
PriorityurgentResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchpiFixed in SCM revision5c8482440a87
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_15
OS Version2.6.30-gentoo-r5Database version8.3.8Ant version1.7.1
Product VersionpiSCM revisionff77f743663b 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012251: YUICompressor fails when used with another Rhino based tool in the same classloader

DescriptionWe use YUICompressor for compressing JS and CSS fails. This tool is based on Mozilla Rhino and uses a modified version of the parser [1]. If in the same classloader you use another Rhino based tool the compression process fails. This also happens with OpenJDK users.

[1] http://www.julienlecomte.net/blog/2008/10/80/ [^]
Steps To ReproduceCheck the attached file: yuicompressor-issue.zip
Proposed SolutionRepackage Rhino 1.6R7, YUICompressor-2.4.2 and YUIAnt from org.mozilla to org.openbravo so we avoid class collision.
TagsNo tags attached.
Attached Fileszip file icon yuicompressor-issue.zip [^] (3,066,894 bytes) 2010-02-12 17:37

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0010454 closedjpabloae Can not minimize JS and CSS 
related to design defect 0040533 closedplatform remove rhino copies in lib/build 

-  Notes
(0024215)
hgbot (developer)
2010-02-12 17:43

Repository: erp/devel/pi
Changeset: 5c8482440a871c30601c77b2645cfd644808bc29
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Feb 12 17:40:47 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5c8482440a871c30601c77b2645cfd644808bc29 [^]

Fixes issue 12251: JARs repackaged to avoid class collision

---
M lib/build/YUIAnt.jar
M lib/build/yuicompressor-2.4.2.jar
M src/build.xml
A lib/build/ob-rhino-1.6R7.jar
---
(0024364)
hudsonbot (developer)
2010-02-15 17:39

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/5c8482440a87 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^]
(0024429)
shuehner (administrator)
2010-02-16 17:47

Tested by doing install.source with js/css minimization enabled on ubuntu 9.10 with openjdk-6. As this failed before the patch consistently. Now working fine.

- Issue History
Date Modified Username Field Change
2010-02-12 17:37 iperdomo New Issue
2010-02-12 17:37 iperdomo Assigned To => iperdomo
2010-02-12 17:37 iperdomo File Added: yuicompressor-issue.zip
2010-02-12 17:38 iperdomo Relationship added related to 0010454
2010-02-12 17:38 iperdomo Status new => scheduled
2010-02-12 17:38 iperdomo fix_in_branch => pi
2010-02-12 17:43 hgbot Checkin
2010-02-12 17:43 hgbot Note Added: 0024215
2010-02-12 17:43 hgbot Status scheduled => resolved
2010-02-12 17:43 hgbot Resolution open => fixed
2010-02-12 17:43 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5c8482440a871c30601c77b2645cfd644808bc29 [^]
2010-02-15 17:39 hudsonbot Checkin
2010-02-15 17:39 hudsonbot Note Added: 0024364
2010-02-16 17:47 shuehner Note Added: 0024429
2010-02-16 17:47 shuehner Status resolved => closed
2010-02-16 17:47 shuehner Fixed in Version => 2.50MP12
2010-02-17 00:01 anonymous sf_bug_id 0 =>
2010-03-10 18:30 anonymous sf_bug_id => 2968061
2019-04-05 10:01 alostale Relationship added related to 0040533


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker