View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11419Bug reportsSurvey takingpublic2016-07-04 16:39
Reportersurveyunihi Assigned ToDenisChenu  
PrioritynoneSeveritypartial_block 
Status closedResolutionno change required 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary11419: Default-values are saved like normal entries, though page has not been shown
Description

Default-values of questions are saved even when the question is not shown

Steps To Reproduce

See attached LSA-file with sample questionnaire: three groups, each containing one question. Q2 and Q3 have default-values, which are saved even when answering was stopped before.
See sample answers: e.g. id 4 has lastpage=1, but values for Q2 and Q3

TagsNo tags attached.
Attached Files
1stPage.png (4,581 bytes)   
1stPage.png (4,581 bytes)   
2ndPage.png (5,624 bytes)   
2ndPage.png (5,624 bytes)   
screenshot.PNG (30,346 bytes)   
screenshot.PNG (30,346 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)160620
I will donate to the project if issue is resolvedNo
BrowserFirefox 48
Database type & version258
Server OS (if known)Linux surveys 3.19.0-59-generic #65-Ubuntu SMP Mon Apr 18 16:12:07 UTC 2016 x86_64
Webserver software & version (if known)Apache/2.4.12 (Ubuntu)
PHP VersionPHP Version 5.6.11-1ubuntu3.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-07-04 10:32

developer   ~39817

I can not reproduce , see the screenshot.

Remind : if user goes to page 3, and after move previous or use index : lastpage is resetted to "actual pag" : lastpage is not the max page, but the last page seens.
See https://www.limesurvey.org/index.php?option=com_sobipro&pid=76&sid=77:fixMaxStep&Itemid=729

surveyunihi

surveyunihi

2016-07-04 16:31

reporter   ~39828

I am sorry, my initial description ("not shown") was not concise.

See added screenshot of answers:

id=6: Survey was started, Q1 was answered, button "Next" was clicked, then survey window (browser window) was closed. But there is an answer (the default value) saved for Q2.

id=5: Survey was started, Q1 was answered, button "Next" was clicked, Q2 was answered, button "Next" was clicked, then survey window was closed. But there is an answer saved for Q3.

My opinion: Default-answers must only be saved when "Next"-button is clicked, as there must be an "active approval" of the default-values.

DenisChenu

DenisChenu

2016-07-04 16:39

developer   ~39829

Click next : we start to show the group : not an issue.

Issue History

Date Modified Username Field Change
2016-06-27 13:35 surveyunihi New Issue
2016-06-27 13:35 surveyunihi File Added: survey_archive_238144.lsa
2016-07-04 10:32 DenisChenu Note Added: 39817
2016-07-04 10:32 DenisChenu Status new => feedback
2016-07-04 10:33 DenisChenu Reproducibility have not tried => unable to reproduce
2016-07-04 10:51 DenisChenu File Added: 1stPage.png
2016-07-04 10:51 DenisChenu File Added: 2ndPage.png
2016-07-04 16:12 surveyunihi File Added: screenshot.PNG
2016-07-04 16:31 surveyunihi Note Added: 39828
2016-07-04 16:31 surveyunihi Status feedback => new
2016-07-04 16:39 DenisChenu Note Added: 39829
2016-07-04 16:39 DenisChenu Status new => closed
2016-07-04 16:39 DenisChenu Assigned To => DenisChenu
2016-07-04 16:39 DenisChenu Resolution open => no change required
2016-07-04 16:39 DenisChenu Fixed in Version => 2.5