Closed
Bug 257152
Opened 20 years ago
Closed 20 years ago
With JavaScript switched off, flag type deletion crashes
Categories
(Bugzilla :: Administration, task)
Bugzilla
Administration
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: Wurblzap, Assigned: Wurblzap)
Details
Attachments
(1 file, 2 obsolete files)
820 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2
Undefined subroutine &main::deleteType called at editflagtypes.cgi line 360.
Reproducible: Always
Steps to Reproduce:
1. Switch JavaScript off
2. Go to editflagtypes.cgi
3. Click on some "delete" link
Assignee | ||
Comment 1•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #157162 -
Flags: review?
Assignee | ||
Updated•20 years ago
|
Flags: blocking2.18?
Comment 2•20 years ago
|
||
Yeah.
Assignee: justdave → marcschum
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•20 years ago
|
||
Comment on attachment 157162 [details] [diff] [review]
Patch
I'd rather we used deleteType consistently -- I suspect that was what Myk
intended originally -- using reserved words is evil.
Attachment #157162 -
Flags: review? → review-
Assignee | ||
Comment 4•20 years ago
|
||
> I'd rather we used deleteType consistently -- I suspect that was what Myk
> intended originally -- using reserved words is evil.
Do we want to harmonize editflagtypes by putting a trailing "...Type" to each
of the functions? New bug?
Attachment #157162 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #157314 -
Flags: review?
Comment 5•20 years ago
|
||
Comment on attachment 157314 [details] [diff] [review]
Using deleteType
Kiko should get this since he looked at the previous patch as well.
Attachment #157314 -
Flags: review? → review?(kiko)
Comment 6•20 years ago
|
||
Comment on attachment 157314 [details] [diff] [review]
Using deleteType
>Index: editflagtypes.cgi
>-elsif ($action eq 'delete') { &delete(); }
>+elsif ($action eq 'deleteType') { deleteType();
Keep the action as "delete" but have the function called deleteType -- yes,
it's a bit inconsistent, but we're only working around a perl limitation here
-- no need to expose it to the user.
r=kiko on an updated patch, just seek approval.
Attachment #157314 -
Flags: review?(kiko) → review+
Assignee | ||
Comment 8•20 years ago
|
||
Attachment #157314 -
Attachment is obsolete: true
Assignee | ||
Comment 9•20 years ago
|
||
(In reply to comment #6)
> r=kiko on an updated patch, just seek approval.
Flags: approval?
Flags: approval2.18?
Updated•20 years ago
|
Flags: blocking2.18?
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
Comment 10•20 years ago
|
||
Checking in editflagtypes.cgi;
/cvsroot/mozilla/webtools/bugzilla/editflagtypes.cgi,v <-- editflagtypes.cgi
new revision: 1.8; previous revision: 1.7
done
Checking in editflagtypes.cgi;
/cvsroot/mozilla/webtools/bugzilla/editflagtypes.cgi,v <-- editflagtypes.cgi
new revision: 1.7.2.1; previous revision: 1.7
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•