View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19425 | Bug reports | User / Groups / Roles | public | 2024-02-15 12:13 | 2026-10-13 11:50 |
| Reporter | adelphisurveys | Assigned To | c_schmitz | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 6.4.x | ||||
| Summary | 19425: Unable to delete some users | ||||
| Description | 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. | ||||
| 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. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 12 | ||||
| Complete LimeSurvey version number (& build) | 6.4.5 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | All | ||||
| Database type & version | mysql | ||||
| Server OS (if known) | Debian 11 | ||||
| Webserver software & version (if known) | apache2 | ||||
| PHP Version | 8.1 | ||||
| Git branch / Pull Request URL | |||||
|
PHP8.3 related |
|
|
Hi DenisChenu, |
|
|
No : i mean : you are already on php8.3. The get_class() without argument is deprecated are ONY for php8.3 : https://www.php.net/manual/en/function.get-class.php#refsect1-function.get-class-changelog 74 , 8.0, 8.1 or 8.2 didn't have this issue. |
|
|
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 |
|
|
There are no php errors. Only the attached window shows. |
|
|
@adelphisurveys 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 |
|
|
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. |
|
|
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 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40707 |
|
|
Fixed in Release 7.6.0+261013 |
|
|
LimeSurvey: master fceada89 2026-10-08 12:41 Details Diff |
Fixed issue 19425: Bulk deleting users who own surveys failed with a misleading "protected user" error Dev Bulk delete now explains that the user owns surveys and must be deleted individually to transfer them |
Affected Issues 19425 |
|
| mod - application/controllers/UserManagementController.php | Diff File | ||
| 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 | |
| 2026-10-08 12:41 | c_schmitz | Changeset attached | => LimeSurvey master fceada89 |
| 2026-10-08 12:41 | c_schmitz | Note Added: 86264 | |
| 2026-10-08 12:41 | c_schmitz | Assigned To | mfavetti => c_schmitz |
| 2026-10-08 12:41 | c_schmitz | Status | assigned => resolved |
| 2026-10-08 12:41 | c_schmitz | Resolution | open => fixed |
| 2026-10-08 12:41 | c_schmitz | Bug heat | 8 => 10 |
| 2026-10-13 11:49 | LimeBot | Note Added: 86380 | |
| 2026-10-13 11:50 | LimeBot | Status | resolved => closed |
| 2026-10-13 11:50 | LimeBot | Bug heat | 10 => 12 |