Closed Bug 1013209 Opened 11 years ago Closed 11 years ago

data/assets: empty generated css-file

Categories

(Bugzilla :: Bugzilla-General, defect)

4.5.4
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: brilliantov, Assigned: glob)

References

Details

Attachments

(2 files)

Attached image bugzilla.jpg
# bzr log | head ------------------------------------------------------------ revno: 9035 fixes bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1009017 author: Byron Jones <glob@mozilla.com> committer: Sync <sync@git.mozilla.org> branch nick: trunk timestamp: Tue 2014-05-20 13:49:46 +0800 message: Bug 1009017: users are unable to log in if their password needs to be re-encrypted and their password does not match the current complexity # ./checksetup.pl * This is Bugzilla 4.5.4+ on perl 5.14.2 * Running on Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 Checking perl modules... Checking for CGI.pm (v3.51) ok: found v3.63 Checking for Digest-SHA (any) ok: found v5.61 Checking for TimeDate (v2.23) ok: found v2.24 Checking for DateTime (v0.28) ok: found v0.75 Checking for DateTime-TimeZone (v0.71) ok: found v1.58 Checking for DBI (v1.614) ok: found v1.622 Checking for Template-Toolkit (v2.24) ok: found v2.24 Checking for Email-Send (v2.04) ok: found v2.198 Checking for Email-MIME (v1.904) ok: found v1.911 Checking for URI (v1.55) ok: found v1.60 Checking for List-MoreUtils (v0.32) ok: found v0.33 Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.003 Checking for File-Slurp (v9999.13) ok: found v9999.19 Checking available perl DBD modules... Checking for DBD-Pg (v2.7.0) ok: found v2.19.2 Checking for DBD-mysql (v4.001) not found Checking for DBD-SQLite (v1.29) not found Checking for DBD-Oracle (v1.19) not found The following Perl modules are optional: Checking for GD (v1.20) ok: found v2.46 Checking for Chart (v2.4.1) ok: found v2.4.5 Checking for Template-GD (any) not found Checking for GDTextUtil (any) not found Checking for GDGraph (any) not found Checking for MIME-tools (v5.406) not found Checking for libwww-perl (any) ok: found v6.04 Checking for XML-Twig (any) not found Checking for PatchReader (v0.9.6) not found Checking for perl-ldap (any) not found Checking for Authen-SASL (any) not found Checking for Net-SMTP-SSL (v1.01) not found Checking for RadiusPerl (any) not found Checking for SOAP-Lite (v0.712) not found Checking for XMLRPC-Lite (v0.712) not found Checking for JSON-RPC (any) not found Checking for JSON-XS (v2.0) ok: found v2.32 Checking for Test-Taint (v1.06) not found Checking for HTML-Parser (v3.67) ok: found v3.69 Checking for HTML-Scrubber (any) ok: found v0.09 Checking for Encode (v2.21) ok: found v2.42_01 Checking for Encode-Detect (any) ok: found v1.01 Checking for Email-Reply (any) not found Checking for HTML-FormatText-WithLinks (v0.13) ok: found v0.14 Checking for TheSchwartz (v1.07) not found Checking for Daemon-Generic (any) not found Checking for mod_perl (v1.999022) not found Checking for Apache-SizeLimit (v0.96) not found Checking for File-MimeInfo (any) ok: found v0.16 Checking for IO-stringy (any) ok: found v2.110 Checking for Cache-Memcached (any) not found Checking for mod_headers (any) not found Checking for mod_expires (any) not found Checking for mod_env (any) ok *********************************************************************** * OPTIONAL MODULES * *********************************************************************** * Certain Perl modules are not required by Bugzilla, but by * * installing the latest version you gain access to additional * * features. * * * * The optional modules you do not have installed are listed below, * * with the name of the feature they enable. Below that table are the * * commands to install each module. * *********************************************************************** * MODULE NAME * ENABLES FEATURE(S) * *********************************************************************** * Template-GD * Graphical Reports * * GDTextUtil * Graphical Reports * * GDGraph * Graphical Reports * * MIME-tools * Move Bugs Between Installations * * XML-Twig * Move Bugs Between Installations, Automatic Update Notifications * * PatchReader * Patch Viewer * * perl-ldap * LDAP Authentication * * Authen-SASL * SMTP Authentication * * Net-SMTP-SSL * SSL Support for SMTP * * RadiusPerl * RADIUS Authentication * * SOAP-Lite * XML-RPC Interface * * XMLRPC-Lite * XML-RPC Interface * * JSON-RPC * JSON-RPC Interface, REST Interface * * Test-Taint * JSON-RPC Interface, XML-RPC Interface, REST Interface * * Email-Reply * Inbound Email * * TheSchwartz * Mail Queueing * * Daemon-Generic * Mail Queueing * * mod_perl * mod_perl * * Apache-SizeLimit * mod_perl * * Cache-Memcached * Memcached Support * *********************************************************************** * APACHE MODULES * *********************************************************************** * Normally, when Bugzilla is upgraded, all Bugzilla users have to * * clear their browser cache or Bugzilla will break. If you enable * * certain modules in your Apache configuration (usually called * * httpd.conf or apache2.conf) then your users will not have to clear * * their caches when you upgrade Bugzilla. The modules you need to * * enable are: * * * * mod_headers, mod_expires * * * *********************************************************************** COMMANDS TO INSTALL OPTIONAL MODULES: Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image GDTextUtil: /usr/bin/perl install-module.pl GD::Text GDGraph: /usr/bin/perl install-module.pl GD::Graph MIME-tools: /usr/bin/perl install-module.pl MIME::Parser XML-Twig: /usr/bin/perl install-module.pl XML::Twig PatchReader: /usr/bin/perl install-module.pl PatchReader perl-ldap: /usr/bin/perl install-module.pl Net::LDAP Authen-SASL: /usr/bin/perl install-module.pl Authen::SASL Net-SMTP-SSL: /usr/bin/perl install-module.pl Net::SMTP::SSL RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius SOAP-Lite: /usr/bin/perl install-module.pl SOAP::Lite XMLRPC-Lite: /usr/bin/perl install-module.pl XMLRPC::Lite JSON-RPC: /usr/bin/perl install-module.pl JSON::RPC Test-Taint: /usr/bin/perl install-module.pl Test::Taint Email-Reply: /usr/bin/perl install-module.pl Email::Reply TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic mod_perl: /usr/bin/perl install-module.pl mod_perl2 Apache-SizeLimit: /usr/bin/perl install-module.pl Apache2::SizeLimit Cache-Memcached: /usr/bin/perl install-module.pl Cache::Memcached To attempt an automatic install of every required and optional module with one command, do: /usr/bin/perl install-module.pl --all Reading ./localconfig... OPTIONAL NOTE: If you want to be able to use the 'difference between two patches' feature of Bugzilla (which requires the PatchReader Perl module as well), you should install patchutils from: http://cyberelk.net/tim/software/patchutils/ Checking for DBD-Pg (v2.7.0) ok: found v2.19.2 Checking for PostgreSQL (v8.03.0000) ok: found v09.01.1300 Checking for DBD-Pg (v2.17.2) ok: found v2.19.2 Removing existing compiled templates... Precompiling templates...done. Fixing file permissions... Checking for GraphViz (any) ok checksetup.pl complete. # ls -l skins/assets total 0 -rw-r--r-- 1 www-data www-data 0 May 20 14:57 2f5735cf3abd04bddc8e363a8613a9f5.css
checksetup.pl clears that directory, so it's unclear exactly what's going on. i have a few questions :) are you able to provide a listing of skins/assets after loading show_bug.cgi? are you using mod_perl? if you delete that zero byte file, is it regenerated when you load a bugzilla page?
Flags: needinfo?(brilliantov)
(In reply to Byron Jones ‹:glob› from comment #1) > are you able to provide a listing of skins/assets after loading show_bug.cgi? Yes, listing after connect to service. > are you using mod_perl? No, please see checksetup.pl output. > if you delete that zero byte file, is it regenerated when you load a > bugzilla page? Yes.
Flags: needinfo?(brilliantov)
do you have any customisations against bugzilla, specifically to the _bz_locations in Bugzilla/Constants.pm ?
Flags: needinfo?(brilliantov)
confirming -- f1sh in the #bugzilla irc channel was able to reproduce this issue on his server. we'll work together to try to figure out the cause.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(brilliantov)
with f1sh's help, i can replicate this issue. working on a fix now.
Assignee: general → glob
Severity: normal → critical
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86_64 → All
Attached patch 1013209_1.patchSplinter Review
this issue is present on installations which don't have all of mod_expires, mod_headers, and mod_env installed in apache. the regex was truncating the last character off the filename.
Attachment #8425601 - Flags: review?(gerv)
Depends on: 977969
Attachment #8425601 - Flags: review?(gerv) → review?(dkl)
Comment on attachment 8425601 [details] [diff] [review] 1013209_1.patch Review of attachment 8425601 [details] [diff] [review]: ----------------------------------------------------------------- r=dkl
Attachment #8425601 - Flags: review?(dkl) → review+
Flags: approval?
Target Milestone: --- → Bugzilla 5.0
Version: unspecified → 4.5.4
Flags: approval? → approval+
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git b5b5061..f3a176d master -> master
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Summary: skins/assets: empty generated css-file → data/assets: empty generated css-file
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: