Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
16529Bug reportsSurvey editingpublic2020-08-12 10:10
Reportergabrieljenik Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.3.6 
Summary16529: After deleting a user who owned a survey, the survey list generates a dump
Description

Make sure a user is the owner a of a survey.
Delete the user.
View survey list

This happens after aplying 16149

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)4.3.6
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)
Webserver software & version (if known)
PHP Version7

Relationships

related to 16528 closedgabrieljenik After deleting a user who owned a survey, the survey list shows an error. 
related to 16149 closed See survey list - owner column is not correct 
related to 16565 closedgabrieljenik Transfer surveys window to be displayed to ask to transfer surveys to other users while deleting the survey owner 

Activities

gabrieljenik

gabrieljenik

2020-07-28 21:15

manager   ~59134

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1513

Added getOwnerUserName in Survey model, and use that ownerUserName property in listSurveys.php.

user225042

2020-08-03 12:27

  ~59262

Tested the issue in the latest version. Was not able to replicate the issue. Please refer the attachment for more details.
Scenario 1: Before Deleting the User
Scenario 2: After Deleting the User I don't see any name displayed in master
Master: I don't get any message to move surveys to other users.

I tried pulling PR and tested but still I see the same behavior as above.

user225042

2020-08-03 17:42

  ~59272

Since I am not getting any dump I will close this issue but there is no pop up displayed to move surveys to other users, so I will log a separate issue for that.

gabrieljenik

gabrieljenik

2020-08-04 23:59

manager   ~59309

Have you tried this after aplying 16149?

user225042

2020-08-05 12:58

  ~59319

Yes, this issue(16149) is already been merged to master long back

gabrieljenik

gabrieljenik

2020-08-10 15:16

manager   ~59383

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30357

lime_release_bot

lime_release_bot

2020-08-12 10:10

administrator   ~59426

Fixed in Release 4.3.10+200812

Related Changesets

LimeSurvey: master 4b0890a2

2020-08-10 15:16:19

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 16529: After deleting a user who owned a survey, the survey list generates a dump (#1513)

Added getOwnerUserName in Survey model, and use that ownerUserName property in listSurveys.php.
Affected Issues
16529
mod - application/extensions/admin/survey/ListSurveysWidget/views/listSurveys.php Diff File
mod - application/models/Survey.php Diff File

Issue History

Date Modified Username Field Change
2020-07-27 21:48 gabrieljenik New Issue
2020-07-27 21:48 gabrieljenik Issue generated from: 16528
2020-07-27 21:48 gabrieljenik Relationship added related to 16528
2020-07-27 21:48 gabrieljenik Relationship added related to 16149
2020-07-28 21:15 gabrieljenik Note Added: 59134
2020-08-03 12:27 user225042 Note Added: 59262
2020-08-03 12:27 user225042 File Added: 16529_UserDelete_OwnerBlank.png
2020-08-03 17:42 user225042 Note Added: 59272
2020-08-04 10:38 user225042 Relationship added related to 16565
2020-08-04 23:59 gabrieljenik Note Added: 59309
2020-08-05 12:58 user225042 Note Added: 59319
2020-08-10 15:16 gabrieljenik Changeset attached => LimeSurvey master 4b0890a2
2020-08-10 15:16 gabrieljenik Note Added: 59383
2020-08-10 15:16 gabrieljenik Assigned To => gabrieljenik
2020-08-10 15:16 gabrieljenik Resolution open => fixed
2020-08-12 10:10 lime_release_bot Note Added: 59426
2020-08-12 10:10 lime_release_bot Status new => closed