Bug 386

Summary: Cannot reset password if the user didn't set preferedLanguage
Product: Websites Reporter: Michael Scherer <misc>
Component: identity.mageia.orgAssignee: Atelier Team <atelier-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: bgmilne, marja11
Version: trunk   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Michael Scherer 2011-03-16 00:57:35 CET
A user asked me to reset his password, but following the link "reset password" on catdap caused this error :


[Tue Mar 15 23:52:15 2011] [error] [client 82.238.220.82] FastCGI: server "/var/www/identity/script/catdap_fastcgi.pl" stderr: 
                 [error] Caught exception in CatDap::Controller::admin->password "Can't locate object method "preferredLanguage" via package 
"Catalyst::Model::LDAP::Entry" at /var/www/identity/script/../lib/CatDap/Controller/admin.pm line 536", referer: https://identity.mageia.org/admin/password/ashledombos

Indeed, the user do not have preferredLanguage set.

Reproducible: 

Steps to Reproduce:
Ahmad Samir 2011-03-16 02:32:03 CET

CC: (none) => bgmilne

Comment 1 Marja Van Waes 2011-10-06 06:58:24 CEST
@ misc
@ webteam

Bug still there?

CC: (none) => marja11

Comment 2 Michael Scherer 2011-10-06 07:07:19 CEST
Likely, I do not remember fixing it and the code still has the issue from what I see, but this could be quick ( just add a default value in the code ).
Comment 3 Marja Van Waes 2011-12-10 15:43:30 CET
(In reply to comment #2)
> Likely, I do not remember fixing it and the code still has the issue from what
> I see, but this could be quick ( just add a default value in the code ).

You must have fixed it, I just made a new account to test and it defaulted to "en"

Status: NEW => RESOLVED
Resolution: (none) => FIXED