View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17942 | Bug reports | Question editor | public | 2022-03-09 05:02 | 2022-03-14 11:35 |
Reporter | sdsAdm1n | Assigned To | c_schmitz | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.2.x | ||||
Summary | 17942: Question could not be deleted. There are conditions for other questions that rely on this question. | ||||
Description | Under certain case, question deletion is not applied , it happens when another question linked by condition to the targeted question get deleted which seems to leave a dependency in the database. Please check the steps to reproduce for more details. | ||||
Steps To Reproduce | Steps to reproduce
Expected resultHaving Q1 deleted. Actual resultError message saying that "Question could not be deleted. There are conditions for other questions that rely on this question. You cannot delete this question until those conditions are removed" appears, and Q1 is not deleted. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 5.3.2+220302 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MS SQL Server 2016 | ||||
Server OS (if known) | Win Server 2019 | ||||
Webserver software & version (if known) | IIS 10 | ||||
PHP Version | 7.4 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33346 |
|
On question deletion, any pending conditions were not deleted. |
|
Fixed in Release 5.3.5+220314 |
|
LimeSurvey: master 62c1585a 2022-03-11 10:52 Details Diff |
Fixed issue 17942: Question cannot be deleted if another deleted question had a condition pending on it Dev Added integrity check to fix such a scenario |
Affected Issues 17942 |
|
mod - application/controllers/QuestionAdministrationController.php | Diff File | ||
mod - application/controllers/admin/CheckIntegrity.php | Diff File | ||
mod - application/models/Question.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-09 05:02 | sdsAdm1n | New Issue | |
2022-03-09 05:02 | sdsAdm1n | File Added: ErrorOnQdelete.png | |
2022-03-09 11:30 | ollehar | Zoho Project Synchronization | => |Yes| |
2022-03-11 09:52 | c_schmitz | Assigned To | => c_schmitz |
2022-03-11 09:52 | c_schmitz | Status | new => assigned |
2022-03-11 10:14 | c_schmitz | Changeset attached | => LimeSurvey master 62c1585a |
2022-03-11 10:14 | c_schmitz | Note Added: 68626 | |
2022-03-11 10:14 | c_schmitz | Bug heat | 0 => 2 |
2022-03-11 10:14 | c_schmitz | Resolution | open => fixed |
2022-03-11 10:17 | c_schmitz | Note Added: 68627 | |
2022-03-11 10:17 | c_schmitz | Status | assigned => resolved |
2022-03-14 11:35 | LimeBot | Zoho Project Synchronization | Yes => |Yes| |
2022-03-14 11:35 | LimeBot | Note Added: 68655 | |
2022-03-14 11:35 | LimeBot | Status | resolved => closed |
2022-03-14 11:35 | LimeBot | Bug heat | 2 => 4 |