Open
Bug 407126
Opened 18 years ago
Updated 12 years ago
Bad error message when email_in.pl fails to connect to the database
Categories
(Bugzilla :: Incoming Email, defect)
Tracking
()
NEW
People
(Reporter: anthony, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
Build Identifier:
I'm using PostgreSQL with ident authentication. I don't know if this problem can be reproduced in other environments (for example, setting the wrong password), but here's how it is in my environment anyway.
Reproducible: Always
Steps to Reproduce:
1. Modify the PostgreSQL configuration so that connection is not possible. I'm running bugzilla as user "bugzilla", so what I do for this step is remove from pg_ident.conf a line that says "bugzilla bugzilla bugs" (mapname=bugzilla, identuser=bugzilla, dbuser=bugs).
2. Type in the following:
acheloos:~$ ./email_in.pl
From: anthony@itia.ntua.gr
Subject: [Bug 2465] foo
bar
^D
Actual Results:
The following error message appears: Can't call method "isa" without a package or object reference at ./email_in.pl line 341, <STDIN> line 4.
Expected Results:
The error returned by PostgreSQL should be shown (FATAL: Ident authentication failed for user "bugs")
Updated•18 years ago
|
Severity: normal → minor
OS: Linux → All
Hardware: PC → All
You need to log in
before you can comment on or make changes to this bug.
Description
•