In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
810 [In-Portal CMS] Template System bug report always 2010-07-23 16:32 2010-11-30 12:48
alex  
alex  
normal  
closed 5.1.0  
fixed  
 
none 5.1.1-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/f5d76fa0c9bd91bf
0
0000810: JSMin compressor fails in some cases
In 5.1.0-RC we have ability to compress css and js files. For JS file compression we use JSMin library, which fails to work on attached file.

I propose, that we use YUICompressor, when java is available on web server and use JSMin, when java is not available.

JAR file must be places together with other minify helpers.

Attached patch adds ability to use YUICompressor.
? ui.datepicker-lv-LV.js (1,109) 2010-07-23 16:34
http://tracker.in-portal.org/file_download.php?file_id=685&type=bug
? yuicompressor-2.4.2.jar (851,219) 2010-07-23 16:35
http://tracker.in-portal.org/file_download.php?file_id=686&type=bug
patch yui_compressor_added_v2.patch (993) 2010-07-23 16:35
http://tracker.in-portal.org/file_download.php?file_id=687&type=bug
Issue History
2010-11-30 12:48 Dmitry Note Added: 0003063
2010-11-30 12:48 Dmitry Status resolved => closed
2010-08-29 04:30 alex Note Added: 0002722
2010-08-29 04:30 alex Status reviewed and tested => resolved
2010-08-29 04:30 alex Fixed in Version => 5.1.1-B1
2010-08-29 04:30 alex Resolution open => fixed
2010-08-29 04:30 alex Assigned To !COMMUNITY => alex
2010-08-29 04:30 alex Changeset attached 5.1.x r13889
2010-07-31 13:06 alex Target Version 5.1.1-B1 => 5.1.1
2010-07-31 13:03 alex Target Version Icebox => 5.1.1-B1
2010-07-30 17:26 Dmitry Note Added: 0002619
2010-07-30 17:26 Dmitry Status needs testing => reviewed and tested
2010-07-23 16:35 alex Assigned To => !COMMUNITY
2010-07-23 16:35 alex Developer => alex
2010-07-23 16:35 alex Status active => needs testing
2010-07-23 16:35 alex File Added: yui_compressor_added_v2.patch
2010-07-23 16:35 alex File Added: yuicompressor-2.4.2.jar
2010-07-23 16:34 alex File Added: ui.datepicker-lv-LV.js
2010-07-23 16:32 alex New Issue
2010-07-23 16:32 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/f5d76fa0c9bd91bf

Notes
(0002619)
Dmitry   
2010-07-30 17:26   
Tested good, please commit
(0002722)
alex   
2010-08-29 04:30   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000810: JSMin compressor fails in some cases
(0003063)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.