Anonymous | Login | Signup for a new account | 2023-05-31 04:11 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ 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 | Fixed in Version | 5.1.2-B1 | ||
Status | closed | Product Version | 5.1.1 | Target Version | 5.1.2 | ||
Time Estimate | No 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. |
||||||
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 |
![]() |
||||||
|
![]() |
|
![]() |
|
![]() Dmitry (manager) 2010-12-01 15:37 |
Please test the patch |
![]() alex (manager) 2011-01-05 05:42 |
ok |
![]() 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 |
![]() Dmitry (manager) 2011-03-30 09:53 |
Closing, since 5.1.2 release has been released. |
![]() |
|||
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 ] | ||
![]() |
|||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |