Closed Bug 282074 Opened 21 years ago Closed 21 years ago

Software error instead of Bugzilla's "Internal Error" Message

Categories

(Bugzilla :: Bugzilla-General, defect, P2)

2.19.2

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: mkanat, Assigned: mkanat)

Details

Attachments

(1 file)

I've been doing some development work on landfill, and recently, whenever there should have been an Internal Error message, instead I get: Undefined subroutine &Bugzilla::Error::Param called at Bugzilla/Error.pm line 110. It looks like perhaps some strange compilation-loop problem. I'm not entirely certain if it's a problem with my script that I'm working on, but I don't think it is.
OK.. I can see this by inspection. That line should use &::Param() instead of Param()
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.20
Attached patch Simple fix — — Splinter Review
This fixes it. I don't know why this fixes it, but it does. It looks like the namespace is destroyed somehow, but I don't know how. Anyhow, I tested it by creating the error again (basically, make Bugzilla unable to process any template), and it correctly displayed the error to me.
Assignee: general → mkanat
Status: NEW → ASSIGNED
Attachment #175389 - Flags: review?(bugreport)
Comment on attachment 175389 [details] [diff] [review] Simple fix r=joel by inspection
Attachment #175389 - Flags: review?(bugreport) → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/Error.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Error.pm,v <-- Error.pm new revision: 1.11; previous revision: 1.10 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: