Closed Bug 251911 Opened 20 years ago Closed 20 years ago

Silly ThrowUserError bits in attachment.cgi

Categories

(Bugzilla :: Attachments & Requests, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: kiko, Assigned: kiko)

References

Details

Attachments

(1 file, 3 obsolete files)

There are some missing variables in ThrowUserError bits in attachment.cgi.
Attached patch kiko_v1: cleanups and fix (obsolete) — Splinter Review
Basically, the problem here is that the attachment ID isn't getting echoed in
the error screen. But why not kill some $::FORM callsites while we're at it,
right?
This code is seriously mad.
Attachment #153544 - Attachment is obsolete: true
Well, not so much the code, but the interfaces.
Status: NEW → ASSIGNED
Attachment #153548 - Flags: review?(bugreport)
Attachment #153548 - Flags: review?(bugreport) → review+
Flags: approval?
Flags: approval? → approval+
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.20
Uhm. It appears I coded this patch while on medication. It's got some serious
thinkos in it. 
Attached patch kiko_v3: same intent, less drugs (obsolete) — Splinter Review
Attachment #153548 - Attachment is obsolete: true
which happens to not be used anywhere. Don't we all love crud?
Attachment #154238 - Attachment is obsolete: true
Attachment #154246 - Flags: review?(bugreport)
Attachment #154246 - Flags: review?(bugreport) → review+
/cvsroot/mozilla/webtools/bugzilla/attachment.cgi,v  <--  attachment.cgi
new revision: 1.60; previous revision: 1.59

One more bit of crud extinguished from the world. Bit by bit we fight back --
thanks!
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I think we should have it for 2.18 as well!
Flags: blocking2.18?
Flags: approval2.18?
This patch applies cleanly to the 2.18 branch.
Blocks: 248299
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: patch awaiting approval
Flags: blocking2.18?
Flags: blocking2.18+
Flags: approval2.18?
Flags: approval2.18+
Target Milestone: Bugzilla 2.20 → Bugzilla 2.18
Checking in attachment.cgi;
/cvsroot/mozilla/webtools/bugzilla/attachment.cgi,v  <--  attachment.cgi
new revision: 1.58.2.2; previous revision: 1.58.2.1
done
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Whiteboard: patch awaiting approval
No longer blocks: 248299
*** Bug 248299 has been marked as a duplicate of this bug. ***
*** Bug 248297 has been marked as a duplicate of this bug. ***
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: