Closed
Bug 301463
Opened 19 years ago
Closed 19 years ago
Move CheckFormField and CheckFormFieldDefined into Field.pm
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(1 file, 2 obsolete files)
11.53 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
These routines are used by post_bug.cgi and process_bug.cgi only. Fields related stuff must go into the new Field.pm module.
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.22
Assignee | ||
Comment 1•19 years ago
|
||
Do we want to rename these routines to check_form_field and check_form_field_defined?
Attachment #189948 -
Flags: review?(mkanat)
Comment 2•19 years ago
|
||
Comment on attachment 189948 [details] [diff] [review] patch, v1 Looks generally good on inspection, and the POD docs seem to have basically the right structure. There does need to be a =back at the end of each =head1 section. Also, the function docs, since this is a new module, should be in our standard Description/Params/Returns format. Product.pm is a pretty good example of this, as I recall. And yeah, we should rename the functions. Eventually they will be methods of a Field object, but for now we'll just leave them as they are. Oh also, DESCRIPTION should probably be something more like, "Thi package provides functions for dealing with CGI form fields."
Attachment #189948 -
Flags: review?(mkanat) → review-
Assignee | ||
Comment 3•19 years ago
|
||
Attachment #189948 -
Attachment is obsolete: true
Attachment #189956 -
Flags: review?(mkanat)
Assignee | ||
Comment 4•19 years ago
|
||
Now that we have POD docs, comments are no longer required. :)
Attachment #189956 -
Attachment is obsolete: true
Attachment #189957 -
Flags: review?(mkanat)
Assignee | ||
Updated•19 years ago
|
Attachment #189956 -
Flags: review?(mkanat)
Comment 5•19 years ago
|
||
Comment on attachment 189957 [details] [diff] [review] patch, v2.1 r=mkanat on inspection.
Attachment #189957 -
Flags: review?(mkanat) → review+
Comment 6•19 years ago
|
||
Comment on attachment 189957 [details] [diff] [review] patch, v2.1 OK, still needs testing.
Attachment #189957 -
Flags: review+ → review?(mkanat)
Assignee | ||
Comment 7•19 years ago
|
||
FYI, I did some additional testing using both post_bug.cgi and process_bug.cgi. It works fine! :)
Comment 8•19 years ago
|
||
Comment on attachment 189957 [details] [diff] [review] patch, v2.1 OK. I trust LpSolit's testing. :-)
Attachment #189957 -
Flags: review?(mkanat) → review+
Assignee | ||
Updated•19 years ago
|
Flags: approval?
Comment 9•19 years ago
|
||
(In reply to comment #4) > Created an attachment (id=189957) [edit] > patch, v2.1 > > Now that we have POD docs, comments are no longer required. :) On the contrary, POD docs are just another form of comments ;) (just a little more structured).
Flags: approval? → approval+
Assignee | ||
Comment 10•19 years ago
|
||
Checking in CGI.pl; /cvsroot/mozilla/webtools/bugzilla/CGI.pl,v <-- CGI.pl new revision: 1.250; previous revision: 1.249 done Checking in post_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/post_bug.cgi,v <-- post_bug.cgi new revision: 1.119; previous revision: 1.118 done Checking in process_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi new revision: 1.266; previous revision: 1.265 done RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Field.pm,v done Checking in Bugzilla/Field.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Field.pm,v <-- Field.pm initial revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•