Closed
Bug 289729
Opened 20 years ago
Closed 20 years ago
fix for 3 "uninitialized value" messages
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(1 file)
|
2.02 KB,
patch
|
Wurblzap
:
review+
|
Details | Diff | Splinter Review |
1) process_bug.cgi: Use of uninitialized value in string ne at Bugzilla/Flag.pm
line 283.
if ($requestee_email ne $flag->{'requestee'}->{'email'})
2) userprefs.cgi: Use of uninitialized value in numeric eq (==) at
/var/www/html/cvsbugzilla/userprefs.cgi line 235.
if (1 == $cgi->param("email-$rel-$event"))
Patch coming....| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Flags: blocking2.20?
Target Milestone: --- → Bugzilla 2.20
| Assignee | ||
Updated•20 years ago
|
Blocks: bz-warnings
| Assignee | ||
Comment 1•20 years ago
|
||
3) process_bug.cgi: Use of uninitialized value in string ne at Bugzilla/Flag.pm
line 572.
my $requestee_changed = ($status eq "?" &&
$flag->{'type'}->{'is_requesteeble'} &&
$old_requestee ne $requestee_email);
Summary: fix for 2 "uninitialized value" messages → fix for 3 "uninitialized value" messages
| Assignee | ||
Comment 2•20 years ago
|
||
This patch mainly checks that variables are defined before using them.
Note also that I replaced $flag->{'requestee'}->{'email'} by
$flag->{'requestee'}->login as this is the way User::match_field() and
Flag::modifiy() work.
Attachment #180334 -
Flags: review?(wurblzap)
Updated•20 years ago
|
Attachment #180334 -
Flags: review?(wurblzap) → review+
Updated•20 years ago
|
Flags: approval?
Updated•20 years ago
|
Flags: blocking2.20?
Flags: blocking2.20+
Flags: approval?
Flags: approval+
| Assignee | ||
Comment 3•20 years ago
|
||
Checking in userprefs.cgi; /cvsroot/mozilla/webtools/bugzilla/userprefs.cgi,v <-- userprefs.cgi new revision: 1.74; previous revision: 1.73 done Checking in Bugzilla/Flag.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Flag.pm,v <-- Flag.pm new revision: 1.36; previous revision: 1.35 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•