Closed
Bug 192877
Opened 22 years ago
Closed 22 years ago
State changes on bugs w/ dependancies cause "Use of uninitialized values"
Categories
(Bugzilla :: Email Notifications, defect, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: justdave, Assigned: preed)
References
Details
Attachments
(1 file, 2 obsolete files)
1.43 KB,
patch
|
justdave
:
review+
bbaetz
:
review+
|
Details | Diff | Splinter Review |
Getting this in my error logs on bugscape
[Tue Feb 11 17:45:04 2003] process_bug.cgi: Use of uninitialized value in string
eq at Bugzilla/BugMail.pm line 780.
Reporter | ||
Comment 1•22 years ago
|
||
*** Bug 192879 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 2•22 years ago
|
||
I'm looking at error logs on landfill, and I'm seeing this also in line 790 (as
well as 780):
[Tue Feb 11 12:56:54 2003] process_bug.cgi: Use of uninitialized value in string
eq at Bugzilla/BugMail.pm line 780.
[Tue Feb 11 12:56:54 2003] process_bug.cgi: Use of uninitialized value in string
ne at Bugzilla/BugMail.pm line 790.
This code looks to have been added as part of bug 24789.
Justdave: can you confirm that these errors were *not* appearing before bug
124174 was checked in?
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: Use of uninitialized value in string eq at Bugzilla/BugMail.pm line 780. → Use of uninitialized values Bugzilla/BugMail.pm
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Comment 3•22 years ago
|
||
Oh, could you also see if you can find a way to reproduce?
I can't seem to get it to fire on just adding a comment or changing fields on
any old bug, so...
Reporter | ||
Comment 4•22 years ago
|
||
no, because:
a) Bugzilla/BugMail.pm didn't exist prior to that checkin
b) we apparently weren't trapping stderr from processmail
Assignee | ||
Comment 5•22 years ago
|
||
Steps to repro:
1. Create a new bug.
2. Enter a dependancy (a blocking bug)
3. Accept the bug
4. Resolve the bug (you should see it here)
5. Reopen the bug (you should see it here, too).
Summary: Use of uninitialized values Bugzilla/BugMail.pm → State changes on bugs w/ dependancies cause "Use of uninitialized values"
Assignee | ||
Comment 6•22 years ago
|
||
Fixes the "uninitialized value" errors.
Looks to be an original bug from bug 24789; if we're creating a mail for a
dependant bug, we're not going to be changing the estimated/time remaining
fields on the *dependent* bugs and those fields aren't present on dep bugs.
Assignee | ||
Updated•22 years ago
|
Attachment #114529 -
Flags: review?
Assignee | ||
Comment 7•22 years ago
|
||
Make the patch actually make sense (just for bbaetz ;-)
Attachment #114529 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #114532 -
Flags: review?(bbaetz)
Assignee | ||
Updated•22 years ago
|
Attachment #114529 -
Flags: review?
Assignee | ||
Comment 8•22 years ago
|
||
Ok... this is the simpler (and probably most correct... which is... good)
version of this patch.
Attachment #114532 -
Attachment is obsolete: true
Assignee | ||
Comment 9•22 years ago
|
||
Comment on attachment 114534 [details] [diff] [review]
Simpler fix
There are some whitespace issues with this patch; it'll be fixed for checkin...
but the concept should be clear.
Attachment #114534 -
Flags: review?
Assignee | ||
Updated•22 years ago
|
Attachment #114532 -
Flags: review?(bbaetz)
Reporter | ||
Comment 10•22 years ago
|
||
Comment on attachment 114534 [details] [diff] [review]
Simpler fix
yeah, looks pretty obvious.
Attachment #114534 -
Flags: review? → review+
Assignee | ||
Updated•22 years ago
|
Flags: approval?
Reporter | ||
Updated•22 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 11•22 years ago
|
||
Checking in BugMail.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm,v <-- BugMail.pm
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
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
•