Closed Bug 343810 Opened 19 years ago Closed 19 years ago

Remove Bugzilla::FlagType::get() and implement real flagtype objects

Categories

(Bugzilla :: Attachments & Requests, enhancement)

2.23
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file)

Similar to bug 343432, but for flagtypes. Should be pretty trivial as almost nothing uses flagtypes. ;)
Attached patch patch, v1Splinter Review
Not as trivial as I first thought, due to editflagtypes.cgi and the numerous "hacks" it contains. This patch requires the one from bug 174039, as well as the one from bug 345032 if you don't want to crash when testing request.cgi. Have fun!
Attachment #229653 - Flags: review?(myk)
Status: NEW → ASSIGNED
Depends on: 174039
Big patch, but I feel pretty confident with it and I'm available to fix any regression which would arise.
Flags: approval?
Flags: approval? → approval+
Comment on attachment 229653 [details] [diff] [review] patch, v1 no review required
Attachment #229653 - Flags: review?(myk)
Checking in attachment.cgi; /cvsroot/mozilla/webtools/bugzilla/attachment.cgi,v <-- attachment.cgi new revision: 1.118; previous revision: 1.117 done Checking in editflagtypes.cgi; /cvsroot/mozilla/webtools/bugzilla/editflagtypes.cgi,v <-- editflagtypes.cgi new revision: 1.43; previous revision: 1.42 done Checking in importxml.pl; /cvsroot/mozilla/webtools/bugzilla/importxml.pl,v <-- importxml.pl new revision: 1.64; previous revision: 1.63 done Checking in request.cgi; /cvsroot/mozilla/webtools/bugzilla/request.cgi,v <-- request.cgi new revision: 1.37; previous revision: 1.36 done Checking in Bugzilla/Flag.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Flag.pm,v <-- Flag.pm new revision: 1.71; previous revision: 1.70 done Checking in Bugzilla/FlagType.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/FlagType.pm,v <-- FlagType.pm new revision: 1.33; previous revision: 1.32 done Checking in Bugzilla/User.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm new revision: 1.121; previous revision: 1.120 done Checking in template/en/default/filterexceptions.pl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/filterexceptions.pl,v <-- filterexceptions.pl new revision: 1.75; previous revision: 1.74 done Checking in template/en/default/admin/flag-type/confirm-delete.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/flag-type/confirm-delete.html.tmpl,v <-- confirm-delete.html.tmpl new revision: 1.6; previous revision: 1.5 done Checking in template/en/default/admin/flag-type/edit.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/flag-type/edit.html.tmpl,v <-- edit.html.tmpl new revision: 1.19; previous revision: 1.18 done Checking in template/en/default/admin/flag-type/list.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/flag-type/list.html.tmpl,v <-- list.html.tmpl new revision: 1.14; previous revision: 1.13 done Checking in template/en/default/global/code-error.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl,v <-- code-error.html.tmpl new revision: 1.73; previous revision: 1.72 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #229653 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: