Closed
Bug 232447
Opened 21 years ago
Closed 21 years ago
"GetBugLink() called with non-integer bug number" error on bug 65697
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Bugzilla
Creating/Changing Bugs
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: myk, Assigned: myk)
References
Details
Attachments
(1 file)
743 bytes,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
When I try to view bug 65697 I get the following error:
Internal Error
Bugzilla has suffered an internal error. Please save this page and send it to
myk@mozilla.org with details of what you were doing at the time this message
appeared.
undef error - GetBugLink() called with non-integer bug number at
/usr/lib/perl5/5.6.1/CGI/Carp.pm line 312.
Assignee | ||
Comment 1•21 years ago
|
||
Looks like a missing duplicate record in the duplicates table. I can fix the
record, but should Bugzilla really die when this happens or merely warn() of the
problem and show the bug anyway? That seems like a more user friendly approach,
since it lets the user see what is likely to be useful information, and if we
insert something about the bug number being missing we can find the problem
faster when they complain about it.
Of course, if we had referential integrity this wouldn't be a problem, except if
the code was buggy, which is possible, so we should plan for this possibility.
Assignee | ||
Comment 2•21 years ago
|
||
Here's a fix that notes a missing or invalid bug number in the page rather than
dying with an error.
Assignee | ||
Updated•21 years ago
|
Attachment #140086 -
Flags: review?(justdave)
Comment 3•21 years ago
|
||
Ummm... I could swear there was another bug for this somewhere... I patched
this on Bugscape back in March. :)
Comment 4•21 years ago
|
||
Comment on attachment 140086 [details] [diff] [review]
patch v1: notes missing/invalid bug number instead of dying
And this is essentially the same thing I did on Bugscape.
Attachment #140086 -
Flags: review?(justdave) → review+
Assignee | ||
Comment 5•21 years ago
|
||
Checking in globals.pl;
/cvsroot/mozilla/webtools/bugzilla/globals.pl,v <-- globals.pl
new revision: 1.253; previous revision: 1.252
done
Status: NEW → RESOLVED
Closed: 21 years ago
Flags: approval+
Resolution: --- → FIXED
Updated•21 years ago
|
Target Milestone: --- → Bugzilla 2.18
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
•