MantisBT - TestLink
View Issue Details
0006962TestLinkCommunication via mailpublic2015-02-19 14:122015-09-19 08:49
Tupteq 
fman 
normalminoralways
closedfixed 
1.9.13 (2015 #1) 
1.9.14 (2015 Q3) 
Postgres
Chrome
5.4.36-0+deb7u3
READY FOR TESTING
0006962: Users not receiving password reset emails
In version 1.9.9 new field auth_method was added to the users table. This field is empty by default, so users added before upgrade have it empty.

In this case $user->authentication is null.

These facts break feature of resetting password by email, because in lib/functions/users.inc.php in resetPassword() function variable $doIt evaluates always to false because it uses $user->authentication.
Install TL 1.9.8.
Create a user.
Upgrade to 1.9.13.
Try to reset password for created user.
I'm not a PHP programmer, so my conclusions may be not accurate. I only wanted to fix password reset functionality in my TL instance.
What I did to fix it, I changes auth_method to 'DB' for each user (which worked in my case, I don't use LDAP).
No tags attached.
related to 0006954closed fman "Forgotten password" - email not send 
child of 0006830closed fman Availables hot-fixes for 1.9.13 & How To get full fixed package from GitHub 
Issue History
2015-02-19 14:12TupteqNew Issue
2015-02-19 14:52fmanNote Added: 0022747
2015-02-19 14:53fmanRelationship addedrelated to 0006954
2015-02-19 18:57fmanQA Team - Task Workflow Status => TBD
2015-02-19 18:58fmanAssigned To => fman
2015-02-19 18:58fmanStatusnew => assigned
2015-02-19 20:58fmanFixed in Version => 1.9.14 (2015 Q3)
2015-02-19 20:59fmanNote Added: 0022750
2015-02-19 20:59fmanQA Team - Task Workflow StatusTBD => READY FOR TESTING
2015-02-19 20:59fmanStatusassigned => resolved
2015-02-19 20:59fmanResolutionopen => fixed
2015-02-19 21:00fmanRelationship addedchild of 0006830
2015-09-19 08:49fmanNote Added: 0023981
2015-09-19 08:49fmanStatusresolved => closed

Notes
(0022747)
fman   
2015-02-19 14:52   
>> I'm not a PHP programmer, so my conclusions may be not accurate
avoid this type of sentences that add no value.

Have you searched for similar issues before reporting ?
(0022750)
fman   
2015-02-19 20:59   
https://www.gitorious.org/testlink-ga/testlink-code/commits/2c60615522dfd7a6d403508c561d1442a5661982 [^]
(0023981)
fman   
2015-09-19 08:49   
1.9.14 Padawan - released - 2015-09-19