View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19898Bug reportsUser / Groups / Rolespublic2024-12-19 12:05
Reportertograss Assigned Totibor.pacalat  
PrioritynoneSeveritycrash 
Status ready for testingResolutionopen 
Product Version6.6.x 
Summary19898: New users can not set password
Description

After the last update when a newly created user tries to set his password the following error occurs:

500: Interner Serverfehler - User::checkPasswordStrength(): Argument #1 ($password) must be of type string, null given, called in xxx www/application/controllers/admin/Authentication.php on line 239

Reason is the Line:
$passwordStrengthError = $user->checkPasswordStrength($passwordTest) !== '';
which should read
$passwordStrengthError = $user->checkPasswordStrength($password) !== '';

However,
Yii::app()->setFlashMessage(sprintf(gT('Password cannot be blank and must fulfill minimum requirements: %s'), $passwordStrengthError), 'error');
Only shows "Password cannot be blank and must fulfill minimum requirements: 1" since $passwordStrengthError is a boolean

At least one other user is stumbled across this
https://forums.limesurvey.org/forum/installation-a-update-issues/156775-limesurvey-version-6-8-2-reset-password-error#268195

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.8.2 + 241203
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMariaDB
Server OS (if known)Debian
Webserver software & version (if known)
PHP Version8.1

Users monitoring this issue

Activities

gabrieljenik

gabrieljenik

2024-12-18 19:48

manager   ~81661

This should be fixed on master

tibor.pacalat

tibor.pacalat

2024-12-19 12:04

administrator   ~81663

@tograss can you please confirm this has been fixed for you on the latest version?

Issue History

Date Modified Username Field Change
2024-12-17 12:18 tograss New Issue
2024-12-17 12:36 tibor.pacalat Assigned To => gabrieljenik
2024-12-17 12:36 tibor.pacalat Status new => assigned
2024-12-17 20:36 adm_serveur@uqar.ca Issue Monitored: adm_serveur@uqar.ca
2024-12-17 20:36 adm_serveur@uqar.ca Bug heat 0 => 2
2024-12-18 19:48 gabrieljenik Status assigned => ready for testing
2024-12-18 19:48 gabrieljenik Note Added: 81661
2024-12-18 19:48 gabrieljenik Bug heat 2 => 4
2024-12-19 12:04 tibor.pacalat Note Added: 81663
2024-12-19 12:04 tibor.pacalat Bug heat 4 => 6
2024-12-19 12:05 tibor.pacalat Assigned To gabrieljenik => tibor.pacalat