Closed
Bug 277621
Opened 20 years ago
Closed 20 years ago
Uninitialized value message when changing timetracking fields
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: mkanat, Assigned: Wurblzap)
References
Details
Attachments
(1 file)
|
913 bytes,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
If I put "12.12" in the "Estimated Hours" field when "Orig. Est" is "231.22," I get three of these messages in my Apache error_log on landfill: [Sat Jan 08 21:03:52 2005] [error] [client 216.233.214.179] [Sat Jan 8 21:03:52 2005] process_bug.cgi: Use of uninitialized value in string ne at /var/www/html/bugzilla-tip/process_bug.cgi line 97., referer: http://landfill.bugzilla.org/bugzilla-tip/post_bug.cgi It happens any time I change that field, as far as I can tell. That line of code is: # Validate all timetracking fields foreach my $field ("estimated_time", "work_time", "remaining_time") { if (defined $::FORM{$field}) { my $er_time = trim($::FORM{$field}); if ($er_time ne $::FORM{'dontchange'}) { <======== THIS ONE Bugzilla::Bug::ValidateTime($er_time, $field); } } }
| Reporter | ||
Updated•20 years ago
|
Blocks: bz-warnings
| Assignee | ||
Comment 1•20 years ago
|
||
| Assignee | ||
Updated•20 years ago
|
Flags: blocking2.20?
Flags: blocking2.18?
| Assignee | ||
Updated•20 years ago
|
Whiteboard: patch awaiting review
Comment 2•20 years ago
|
||
Comment on attachment 170836 [details] [diff] [review] Patch bah, the diff viewer won't show me context because this was made with plain old diff instead of cvs diff. ;)
Updated•20 years ago
|
Attachment #170836 -
Flags: review? → review+
Updated•20 years ago
|
Flags: blocking2.20?
Flags: blocking2.20+
Flags: blocking2.18?
Flags: blocking2.18+
Flags: approval2.18+
Flags: approval+
Whiteboard: patch awaiting review → patch awaiting checkin
Target Milestone: --- → Bugzilla 2.18
Comment 3•20 years ago
|
||
2.18 Checking in process_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi new revision: 1.205.2.12; previous revision: 1.205.2.11 done Tip: Checking in process_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v <-- process_bug.cgi new revision: 1.222; previous revision: 1.221 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Whiteboard: patch awaiting checkin
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
•