View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
19425Bug reportsUser / Groups / Rolespublic2024-03-07 02:15
Reporteradelphisurveys Assigned Tomfavetti  
Status assignedResolutionopen 
Product Version6.4.x 
Summary19425: Unable to delete some users

During cleanup of our long running limesurvey instance I noticed, that some users are not deleteable . Trying to delete the user results in an overview window saying Error! with no further information.
I enabled set debug = > 1 but no errors are visible in the error.log. I also checked the network.log and js console for Errors. But none are visible.

Steps To Reproduce

Sorry I really don't know what the problem is. If there are any other logs I can check please let me know.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)6.4.5
I will donate to the project if issue is resolvedNo
Database type & versionmysql
Server OS (if known)Debian 11
Webserver software & version (if known)apache2
PHP Version8.1

Users monitoring this issue





2024-02-15 14:37

developer   ~79515

PHP8.3 related

error_2.png (78,192 bytes)   
error_2.png (78,192 bytes)   


2024-02-20 10:13

reporter   ~79555

Hi DenisChenu,
Thank you for your reply!
I tried upgrading to php8.3 and downgrading to 7.4 but get the same error. Do you have any idea for a workaround or can give a rough estimate when this will be fixed ?



2024-02-20 11:22

developer   ~79556

No : i mean : you are already on php8.3.

The get_class() without argument is deprecated are ONY for php8.3 :

74 , 8.0, 8.1 or 8.2 didn't have this issue.



2024-02-21 10:38

reporter   ~79566

Sorry, there must be an other (maybe additional ) Problem I'm facing. I get the error on all php version from 7.4 to 8.3



2024-02-21 12:33

developer   ~79567

Sorry, there must be an other (maybe additional ) Problem I'm facing. I get the error on all php version from 7.4 to 8.3

Then : set debug=2 and send the error you have



2024-02-21 17:08

reporter   ~79571

There are no php errors. Only the attached window shows.

error_survey.png (5,933 bytes)   
error_survey.png (5,933 bytes)   


2024-02-23 09:43

developer   ~79589

reading through the code it looks like the modal expects a result or an error for each user for the deletion massive action

in the case of no result and no error, there is a generic "Error!" text

so you must be running into a case that the codebase does not cover when error handling to generate a more useful message, but the user still fails to be deleted

any chance you can share a database dump of the installation experiencing the problem?

if I can get the same behavior to occur, I can look at what's happening before the error handling



2024-03-05 13:20

reporter   ~79721

Sorry for the delay, unfortunately I can not share a dump. However, I manged to reproduce the result. Just create a user, create a survey with this user. During my test I created a non public survey, but I don't think this matters. Login as admin and try to delete the user via bulk delete (via selected users). Deleting the user directly ( via action ) works and offers to move the existing surveys to admin.



2024-03-07 02:15

developer   ~79751


Thanks for the additional info. I'm on vacation until the 15th, I'll dig into this when I get back unless someone else is so inclined

Issue History

Date Modified Username Field Change
2024-02-15 12:13 adelphisurveys New Issue
2024-02-15 14:37 DenisChenu Note Added: 79515
2024-02-15 14:37 DenisChenu File Added: error_2.png
2024-02-15 14:37 DenisChenu Bug heat 0 => 2
2024-02-20 10:13 adelphisurveys Note Added: 79555
2024-02-20 10:13 adelphisurveys Bug heat 2 => 4
2024-02-20 11:22 DenisChenu Note Added: 79556
2024-02-21 10:38 adelphisurveys Note Added: 79566
2024-02-21 12:33 DenisChenu Note Added: 79567
2024-02-21 17:08 adelphisurveys Note Added: 79571
2024-02-21 17:08 adelphisurveys File Added: error_survey.png
2024-02-23 09:43 mfavetti Note Added: 79589
2024-02-23 09:43 mfavetti Bug heat 4 => 6
2024-02-23 09:43 mfavetti Issue Monitored: mfavetti
2024-02-23 09:43 mfavetti Bug heat 6 => 8
2024-02-23 09:43 mfavetti Assigned To => mfavetti
2024-02-23 09:43 mfavetti Status new => feedback
2024-03-05 13:20 adelphisurveys Note Added: 79721
2024-03-05 13:20 adelphisurveys Status feedback => assigned
2024-03-07 02:15 mfavetti Note Added: 79751