Closed Bug 947766 Opened 11 years ago Closed 11 years ago

Poorly worded error message when attempting to attach a file that is too large

Categories

(Bugzilla :: Attachments & Requests, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: mail, Assigned: mail)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch atchmsg-v1.patch (obsolete) — Splinter Review
(from the brc bug)

Description of problem:
When attaching a file that exceeds the maximum attachment size the error message indicates that the file can be uploaded elsewhere and attached using the URL field. In the past, this "URL" field was in the attachment screen itself and showed up under the Attachments section. However, this field is no longer available. 

In other words, there is no way to specify a URL as an attachment.

The error message I am referring to is:

> The file you are trying to attach is 51200 kilobytes (KB) in size. Attachments cannot be more than 20000 KB.
> We recommend that you store your attachment elsewhere and then paste the URL to this file on the attachment creation page in the appropriate text field.
> Alternately, if your attachment is an image, you could convert it to a compressible format like JPG or PNG and try again.
Attachment #8344420 - Flags: review?(glob)
(In reply to Simon Green from comment #0)
> message indicates that the file can be uploaded elsewhere and attached using
> the URL field.

No, that's not what the error message says. It tells you to paste the URL in the text field, which you can access by clicking the "paste text as attachment" link.
Also, with your proposal, it would be impossible to paste more than one URL.
Comment on attachment 8344420 [details] [diff] [review]
atchmsg-v1.patch

Per my previous message.
Attachment #8344420 - Flags: review?(glob) → review-
Attached patch atchmsg-v2.patchSplinter Review
Attachment #8344420 - Attachment is obsolete: true
Attachment #8344477 - Flags: review?(glob)
Comment on attachment 8344477 [details] [diff] [review]
atchmsg-v2.patch

r=glob
Attachment #8344477 - Flags: review?(glob) → review+
Flags: approval?
Flags: approval?
Flags: approval4.4?
Flags: approval+
Target Milestone: --- → Bugzilla 4.4
Flags: approval4.4? → approval4.4+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/4.4/                         
modified template/en/default/global/user-error.html.tmpl
Committed revision 8641.                                                       

Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/                       
modified template/en/default/global/user-error.html.tmpl
Committed revision 8827.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: