Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395809 - Advise users to compress oversized attachments on the error page.
Summary: Advise users to compress oversized attachments on the error page.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Bugzilla Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 16:28 UTC by Jeroen Roovers (RETIRED)
Modified: 2012-02-28 09:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2011-12-23 16:28:04 UTC
According to <https://bugs.gentoo.org/attachment.cgi>, bugzilla users are advised to store oversized attachments elsewhere:

    The file you are trying to attach is 11220 kilobytes (KB) in size.
    Attachments cannot be more than 1000 KB. 
    We recommend that you store your attachment elsewhere and then insert the
    URL to it in a comment, or in the URL field for this bug.
    Alternately, if your attachment is an image, you could convert it to a
    compressible format like JPG or PNG and try again.

This goes directly against our policy of gathering all relevant information on the bug report itself, either in comments or in attachments, and nowhere does this text explain that compressing the file first is a viable alternative.

If we are to expand this error message accordingly, maybe it's a good idea to also explain that putting singular files in tar archives isn't needed, as that sadly happens a lot as well.
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2012-02-28 09:21:53 UTC
    Improve file_too_large error message

    Reported-by: Jeroen Roovers <jer@gentoo.org>
    X-Gentoo-Bug: 395809
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/395809
---
 template/en/default/global/user-error.html.tmpl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 90018be..4d008cd 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -613,7 +613,8 @@
     kilobytes (KB) in size. Attachments cannot be more than
     [%# Hack to get the max value between both limits %]
     [%+ max_limit.nsort.last FILTER html %] KB. <br>
-    We recommend that you store your attachment elsewhere
+    We recommend that you try to compress the file by using bzip2, gzip, tar or
+    lzma alternatively you may want to store your attachment elsewhere
     and then paste the URL to this file on the attachment
     creation page in the appropriate text field.
     <br>Alternately, if your attachment is an image, you could convert