Closed Bug 285112 Opened 19 years ago Closed 19 years ago

Move ValidateBugID out of CGI.pl

Categories

(Bugzilla :: Bugzilla-General, enhancement)

2.19.2
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file)

This function should go into Bug.pm.
Severity: normal → enhancement
Target Milestone: --- → Bugzilla 2.20
Target Milestone: Bugzilla 2.20 → Bugzilla 2.22
Attached patch patch, v1Splinter Review
Attachment #188894 - Flags: review?(bugreport)
Comment on attachment 188894 [details] [diff] [review]
patch, v1

I want to be sure I didn't break ValidateBugID(). Requesting a second review.
Attachment #188894 - Flags: review?(mkanat)
Comment on attachment 188894 [details] [diff] [review]
patch, v1

r=joel
await 2xr
Attachment #188894 - Flags: review?(bugreport) → review+
Attachment #188894 - Flags: review?(mkanat) → review?(wicked)
Comment on attachment 188894 [details] [diff] [review]
patch, v1

Tested to be seemingly working as advertised.

Verified correct output of ValidateBugID when given input of 1) correct/invalid
alias 2) existing/non-existing ID and 3) bugs that the user has no access to
(both anonymous and logged in user as well as dependent change). Also briefly
tested all affected .cgi files.

Note that change for show_activity.cgi was already committed in bug 300501 so
that's no longer necessary.
Attachment #188894 - Flags: review?(wicked) → review+
Flags: approval?
Flags: approval? → approval+
Checking in CGI.pl;
/cvsroot/mozilla/webtools/bugzilla/CGI.pl,v  <--  CGI.pl
new revision: 1.246; previous revision: 1.245
done
Checking in showdependencygraph.cgi;
/cvsroot/mozilla/webtools/bugzilla/showdependencygraph.cgi,v  <-- 
showdependencygraph.cgi
new revision: 1.39; previous revision: 1.38
done
Checking in showdependencytree.cgi;
/cvsroot/mozilla/webtools/bugzilla/showdependencytree.cgi,v  <-- 
showdependencytree.cgi
new revision: 1.33; previous revision: 1.32
done
Checking in Bugzilla/Bug.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v  <--  Bug.pm
new revision: 1.83; previous revision: 1.82
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: