Bug 386 - Cannot reset password if the user didn't set preferedLanguage
Summary: Cannot reset password if the user didn't set preferedLanguage
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: identity.mageia.org (show other bugs)
Version: trunk
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Atelier Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 00:57 CET by Michael Scherer
Modified: 2011-12-10 15:43 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.