Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
18400Bug reportsUser / Groups / Rolespublic2022-10-17 22:11
Reporterkkuene Assigned Togabrieljenik  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
Product Version5.4.x 
Summary18400: After I delte a User there will still be an entry in lime_user_in_groups
Description

I use the the User Management
(index.php/userManagement/index)
to delete a User.

If the user was part of a group it will still have an entry in the database table lime_user_in_groups.
So when you delete a User the corresponding entries in the database table lime_user_in_groups are not removed.

You even can see this in the Web Interface in The User Group List (index.php/userGroup/index) It will show a Wrong member count.

Steps To Reproduce

Steps to reproduce

Add user to Group
Delete User
see wrong member count in index.php/userGroup/index
or look a the database table lime_user_in_groups the uid of the deleted user is still there.

Expected result

When a user is deleted the uid of the user should be removed from database table lime_user_in_groups

Actual result

When a user is deleted the uid of the user remains database table lime_user_in_groups causing wrong member counts

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build) LimeSurvey Community Edition Version 5.4.4+221004
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMariaDB 10.5.15
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4

Relationships

duplicate of 18281 feedbackc_schmitz Users in group are not deleted 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-10-05 14:59 kkuene New Issue
2022-10-05 17:11 ollehar Priority none => normal
2022-10-17 15:36 gabrieljenik Status new => acknowledged
2022-10-17 15:36 gabrieljenik Assigned To => gabrieljenik
2022-10-17 15:36 gabrieljenik Status acknowledged => assigned
2022-10-17 22:10 gabrieljenik Relationship added duplicate of 18281
2022-10-17 22:11 gabrieljenik Status assigned => closed
2022-10-17 22:11 gabrieljenik Resolution open => duplicate