Closed
Bug 346245
Opened 18 years ago
Closed 18 years ago
attribute parameter 'johndoe@company.tld ' is not a hash ref at Bugzilla/Auth/Verify.pm line 112
Categories
(Bugzilla :: User Accounts, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: Wurblzap, Assigned: mkanat)
References
Details
Attachments
(1 file)
1.12 KB,
patch
|
Wurblzap
:
review+
|
Details | Diff | Splinter Review |
If I log in to Bugzilla using a different case for my login than what's in the database (eg. johndoe@company.tld instead of the current profiles table entry JohnDoe@company.tld), I get "DBI::db=HASH(0x22058a8)->do(...): attribute parameter 'johndoe@company.tld' is not a hash ref at Bugzilla/Auth/Verify.pm line 112." This is because two things are amiss in Bugzilla/Auth/Verify.pm: Firstly, it needs to ignore the case when comparing logins here: # Now that we have a valid User, we need to see if any data has to be # updated. if ($username && $user->login ne $username) { Secondly, it needs to supply undef to $dbh->do a couple of lines further down.
Reporter | ||
Updated•18 years ago
|
Summary: attribute parameter 'mschumann@inconso.de' is not a hash ref at Bugzilla/Auth/Verify.pm line 112 → attribute parameter 'johndoe@company.tld' is not a hash ref at Bugzilla/Auth/Verify.pm line 112
Assignee | ||
Comment 1•18 years ago
|
||
Ah, yes, that definitely needs to be fixed. Patch coming up.
Assignee: user-accounts → mkanat
Assignee | ||
Comment 2•18 years ago
|
||
Thank you, Marc! That also explains how sometimes we were reaching that segment of code when it *really* should not have been reached.
Attachment #231064 -
Flags: review?(wurblzap)
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Updated•18 years ago
|
Attachment #231064 -
Flags: review?(wurblzap) → review+
Reporter | ||
Updated•18 years ago
|
Flags: approval?
Updated•18 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 3•18 years ago
|
||
Checking in Bugzilla/Auth/Verify.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Auth/Verify.pm,v <-- Verify.pm new revision: 1.4; previous revision: 1.3 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 4•18 years ago
|
||
*** Bug 353521 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•