Download & Extend

JSMin not working. Incorrect file permissions on jsmin.php

Project:Javascript Aggregator
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (cannot reproduce)

Issue Summary

Description

When "Use Jsmin+" is not checked, there is no js_xxx.jsmin.js file in the files/js/ directory. When "Use Jsmin+" is checked, there is a js_xxx.jsmin.js file in the files/js/ directory.

Expected behavior

When "Use Jsmin+" is not, the module will still produce a js_xxx.jsmin.js file and change the page source accordingly.

Actual behavior

The js_xxx.jsmin.js and page source changes only appear when "Use JSMin+ instead of JSMin" is checked.

Repeatable

Always

Steps to repeat

  1. Download and unarchive the package into the modules directory as usual
  2. Enable the module as prescribed.
  3. Test, toggling "Use JSMin+ instead of JSMin" on and off (saving preferences & examining file system and page source each time).

Solution

Change permissions of javascript_aggregator/jsmin.php to 755. The module will then behave as expected when "Use JSMin+ instead of JSMin" is not checked.

Comments

#1

Status:active» postponed

I can't repeat this now. Something else must have been in the mix.

#2

Version:6.x-1.3» 6.x-1.x-dev
Status:postponed» closed (cannot reproduce)

Feel free to reopen.

nobody click here