View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
16897Bug reportsOtherpublic2020-12-28 10:42
Reportercdorin Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.x.0-dev 
Summary16897: Subquestions are being automatically picked up from previous (sub)questions
Description

To be revised

Steps To Reproduce
  1. Create a Survey
  2. Create a Array question type.
  3. Check SQs.
  4. If everything is alright, create again the Array and see again the SQs if everything is alright.
  5. If everything is still alright, create a new survey with a new Array.
TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)irrelevant
I will donate to the project if issue is resolvedNo
Browserirrelevant
Database type & versionirrelevant
Server OS (if known)
Webserver software & version (if known)
PHP Versionirrelevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2020-12-11 15:06

manager   ~60928

Subquestions are listed using Question::getScaledSubquestions(), which queries the question's table by parent_qid = $this->qid.
Since 'qid' is empty until the question is saved, the query returned the data of all the questions in the DB.

https://github.com/LimeSurvey/LimeSurvey/pull/1687

lime_release_bot

lime_release_bot

2020-12-28 10:42

administrator   ~61179

Fixed in Release 4.4.0-RC1+201223

Issue History

Date Modified Username Field Change
2020-12-10 15:57 cdorin New Issue
2020-12-10 15:57 cdorin File Added: 2020-12-09 18.59.14 18.0.0.20 2050950acf73.png
2020-12-10 16:00 cdorin Assigned To => gabrieljenik
2020-12-10 16:00 cdorin Status new => assigned
2020-12-11 15:06 gabrieljenik Note Added: 60928
2020-12-28 10:42 lime_release_bot Sync to Zoho Project Yes => |Yes|
2020-12-28 10:42 lime_release_bot Note Added: 61179
2020-12-28 10:42 lime_release_bot Status assigned => closed
2020-12-28 10:42 lime_release_bot Resolution open => fixed