LimeSurvey bugs, patches and feature requests - Bug reports
View Issue Details
05323Bug reports[All Projects] Survey takingpublic2011-07-06 20:252012-03-14 21:08
user14785 
c_schmitz 
normalminorhave not tried
closedfixed 
1.91+ 
1.91+ 
Yes
10377
Chrome, Firefox
Mysql 5.1.52
Linux
LiteSpeed V5.5
5.2
05323: .missing class added in answered filtered array question "Show question index / allow jumping" modality
In "Show index/allow jumping" modality .missing class is added at filtered array question even if all subquestions are answered
- Create survey with "Show question index / allow jumping" and "View one group per page" set to yes
- Create 2 groups
- in the 1st group
  - Create a multiple choice question
  - Create an array question with the multiple choice as filter
- in the 2nd group create one question

- Start the survey
- Check some option in the multiple choice (not all)
- Answer all the options shown in the array question
- Go to next page

In the index the first group will be marked as if there are missing answer.

Going to the previous page will show that the array question has been marked as missing (class=".missing")

an example can be seen at http://www.officair-survey.eu/index.php?sid=19883&lang=en [^]
No tags attached.
patch floccs.patch (2,846) 2011-10-11 20:12
http://bugs.limesurvey.org/file_download.php?file_id=4176&type=bug
? limesurvey_survey_19883.lss (30,174) 2011-10-12 14:14
http://bugs.limesurvey.org/file_download.php?file_id=4180&type=bug
patch floccs_01.patch (5,314) 2011-10-18 20:15
http://bugs.limesurvey.org/file_download.php?file_id=4188&type=bug
Issue History
2011-07-06 20:25user14785New Issue
2011-07-08 17:02c_schmitzAssigned To => user9586
2011-07-08 17:02c_schmitzStatusnew => assigned
2011-09-05 14:56c_schmitzAssigned Touser9586 => c_schmitz
2011-10-11 20:12user14785File Added: floccs.patch
2011-10-11 20:12user14785Note Added: 16391
2011-10-12 14:03MaziNote Added: 16400
2011-10-12 14:14user14785File Added: limesurvey_survey_19883.lss
2011-10-12 14:14user14785Note Added: 16402
2011-10-14 14:42DenisChenuNote Added: 16420
2011-10-14 15:17user14785Note Added: 16422
2011-10-18 18:56c_schmitzNote Added: 16455
2011-10-18 18:56c_schmitzStatusassigned => resolved
2011-10-18 18:56c_schmitzFixed in Version => 1.91+
2011-10-18 18:56c_schmitzResolutionopen => fixed
2011-10-18 20:15user14785File Added: floccs_01.patch
2011-10-18 20:15user14785Note Added: 16458
2011-10-19 15:26c_schmitzNote Added: 16472
2011-10-26 18:28c_schmitzNote Added: 16532
2011-10-26 18:28c_schmitzStatusresolved => closed
2012-03-14 21:08c_schmitzChangeset attached => Import 2012-03-09 13:30:34 Yii 4ec26f3b
2012-03-14 21:08c_schmitzChangeset attached => Import 2012-03-09 13:30:34 Yii d987a83b

Notes
(16391)
user14785   
2011-10-11 20:12   
I've made a patch for this issue, can you review it?

This should fix the problem.
Tell me if there is something wrong.
(16400)
Mazi   
2011-10-12 14:03   
Thanks for providing a patch. Can you also attach a sample survey for testing?
(16402)
user14785   
2011-10-12 14:14   
sample survey attached
(16420)
DenisChenu   
2011-10-14 14:42   
For me in the link example , it work like a charm:

checked 1 and 2, selext column 1 to each line,
Next : no .missing
Previuos : no .missing
Next : no .missing
Previous: uncheck 1 , check 4
Next : .missing
Previous .missing for 4 in table

I see no problem :)
(16422)
user14785   
2011-10-14 15:17   
i'm sorry but the link provided in the description is now working with the patch i've written.

try loading the survey attached on a non patched version of limesurvey to reproduce the bug.
(16455)
c_schmitz   
2011-10-18 18:56   
Patch looks okay - thank you!
(16458)
user14785   
2011-10-18 20:15   
I've attached a patch with more readable code. Don't know if I have to reopen the issue to have it applied
(16472)
c_schmitz   
2011-10-19 15:26   
Thank you! Yes, that looks much better since i just found out that goto mark is only supported in 5.3 and up.
(16532)
c_schmitz   
2011-10-26 18:28   
New version released