In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000943 [In-Portal CMS] Other bug report always 2010-12-01 15:37 2011-03-30 09:53
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.2-B1 Product Version 5.1.1
  Target Version 5.1.2 Product Build
Time EstimateNo estimate
Summary 0000943: Minor Issue with generating JS/CSS compressed files
Description There is an issue on some hosting server with generating JS/CSS compressed files. This issue is related to recent improvement which adds ability to use JAVA Class to do a better compression.

The following code haven't full worked as expected on examined hosting server:

[code]
$command = 'java -jar ' . dirname(__FILE__) . DIRECTORY_SEPARATOR . 'yuicompressor-2.4.2.jar --type ' . $extension . ' --charset utf-8 ' . $tmp_file;

$compressed_string = shell_exec($command);

unlink($tmp_file);

if (!is_null($compressed_string)) {
 $string = $compressed_string;
 return ;
}
[/code]

The solution is to add check if $compressed_string has any length.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9670fee961612ddd#
Change Log Message Fixes minor issue with JS/CSS compression
Estimate Points 0
Attached Files patch file icon Issue-with-generating-JS-CSS-compressed-files.patch [^] (450 bytes) 2010-12-01 15:37 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0003099)
Dmitry (manager)
2010-12-01 15:37

Please test the patch
User avatar (0003155)
alex (manager)
2011-01-05 05:42

ok
User avatar (0003156)
alex (manager)
2011-01-05 05:43

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000943: Minor Issue with generating JS/CSS compressed files
Commit on behalf of Dmitry
User avatar (0003360)
Dmitry (manager)
2011-03-30 09:53

Closing, since 5.1.2 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14117
Timestamp: 2011-01-05 05:43:30
Author: alex
Details ] Diff ]
Fixes 0000943: Minor Issue with generating JS/CSS compressed files
Commit on behalf of Dmitry
mod - /in-portal/branches/5.1.x/core/units/helpers/minifiers/minify_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-03-30 09:53 Dmitry Note Added: 0003360
2011-03-30 09:53 Dmitry Status resolved => closed
2011-01-05 05:43 alex Note Added: 0003156
2011-01-05 05:43 alex Status reviewed and tested => resolved
2011-01-05 05:43 alex Fixed in Version => 5.1.2-B1
2011-01-05 05:43 alex Resolution open => fixed
2011-01-05 05:43 alex Assigned To !COMMUNITY => alex
2011-01-05 05:43 alex Changeset attached 5.1.x r14117
2011-01-05 05:42 alex Note Added: 0003155
2011-01-05 05:42 alex Status needs testing => reviewed and tested
2010-12-01 15:37 Dmitry Note Added: 0003099
2010-12-01 15:37 Dmitry Assigned To => !COMMUNITY
2010-12-01 15:37 Dmitry Developer => Dmitry
2010-12-01 15:37 Dmitry Status active => needs testing
2010-12-01 15:37 Dmitry New Issue
2010-12-01 15:37 Dmitry File Added: Issue-with-generating-JS-CSS-compressed-files.patch
2010-12-01 15:37 Dmitry Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9670fee961612ddd#
2010-12-01 15:37 Dmitry Change Log Message => Fixes minor issue with JS/CSS compression



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker