Closed
Bug 518892
Opened 15 years ago
Closed 15 years ago
Changing any general settings disables minify on production
Categories
(support.mozilla.org :: General, defect)
support.mozilla.org
General
Tracking
(Not tracked)
VERIFIED
FIXED
1.4.1
People
(Reporter: jsocol, Assigned: jsocol)
References
Details
(Whiteboard: sumo_only minify)
Attachments
(1 file)
589 bytes,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
STR on a local copy of SUMO:
1. Make sure minify is enabled.
2. chmod 555 webroot/files/minify.conf <- must not be writable by the server
3. go to tiki-admin.php?page=general
4. save the settings
Result:
Minify has been disabled. Error while opening: files/minify.conf
Expected result:
Minify is only disabled if it fails writing while changing something. If nothing changes, it shouldn't even attempt to write to its conf file.
I think this is related to the minify issues we have during pushes. On prod, the server can't write to its minify.conf, so any attempt to change general prefs will disable minify.
Assignee | ||
Comment 1•15 years ago
|
||
This will prevent tiki-admin_include_general.php from attempting to write to minify.conf if the setting hasn't changed (for example, if you're changing something else in the general options).
That will stop the fallback mechanism from disabling minify in the database.
Attachment #402902 -
Flags: review?(laura)
Assignee | ||
Updated•15 years ago
|
Target Milestone: --- → 1.4.1
Updated•15 years ago
|
Attachment #402902 -
Flags: review?(laura) → review+
Assignee | ||
Comment 2•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
Verified FIXED; James walked me through this (changed a setting on staging), and we verified that Minify is still active (no error message).
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: sumo_triage
Updated•15 years ago
|
Whiteboard: sumo_triage → tiki_bug minify
Comment 5•15 years ago
|
||
Only applicable to SUMO as it's related to the minify implementation.
As for the type of problem, there is a solution to this with 4.0 called "lesser magic" for better preference management.
Whiteboard: tiki_bug minify → sumo_only minify
You need to log in
before you can comment on or make changes to this bug.
Description
•