View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
10218Bug reportsSurvey takingpublic2016-02-01 12:27
Reporterwingman123 Assigned ToLouisGac 
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Summary10218: Lime2.5RC6 Survey in Group by Group mode - Navigation via Next/Previous not working
Description

In Lime2.5RC6, when taking a Survey in Group by Group mode - Next and Previous buttons are not correctly navigating. I've tested with a simple survey (attached) and isolated two cases to my knowledge
Survey has two groups and one question in each group
Case 1: No questions are marked mandatory.
Case 1 Result: When taking survey, after entering data into first group and clicking next, second group is skipped and survey submitted

Case 2: group 1 question 1 is marked mandatory.
Case 1 Result: When taking survey, after entering data into first group question 1 (long text) and clicking Next, data is not saved, validation message is shown but there's no way to get to the next page even if data is correctly entered

Question by question mode appears to be fine though.
Thanks

Steps To Reproduce
  • Setup Lime2.5RC6
  • Import the survey i attached or create a simple survey with two groups and questions in them
  • toggle on group by group mode
  • take the survey
  • use Next and Prev buttons for navigation
  • Try setting a question in a group to mandatory and then take the survey and try using Next and Prev
Additional Information

question by question mode appears fine

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)Lime2.5 RC6 - 28549d50b1a
I will donate to the project if issue is resolvedNo
BrowserChrome, Firefox
Database type & versionPostgres 9.4.4, MySQLVer 14.14 Distrib 5.6.27
Server OS (if known)Mac OSX 10.11
Webserver software & version (if known)Apache/2.4.16
PHP Version5.6.13

Relationships

duplicate of 10145 closedLouisGac Lime2.5RC5 Survey Navigation/Index Broken 

Users monitoring this issue

LimeHo

Activities

c_schmitz

c_schmitz

2016-01-31 11:54

administrator   ~34427

We released RC8 today - can you still reproduce this?

wingman123

wingman123

2016-02-01 03:24

reporter   ~34428

Hi Carsten, thanks for the work on RC8. This issue still seems to be occurring however. I tried with the survey I had attached in this bug and for good measure I created another survey with two groups and one question in each. If I start on the first page and hit next with no mandatory questions then it skips to the submit page of the survey. With a mandatory question on the first page (Long Free Text) it doesnt validate and never lets me get past the first page. Please let me know if you need any more information. I looked at it myself perhaps its tied to a hidden relevance field but I could be wrong. Thanks

c_schmitz

c_schmitz

2016-02-01 09:21

administrator   ~34432

Last edited: 2016-02-01 09:22

The problem seems to be the question index feature which is activated for this test survey.
It was broken with commit https://github.com/LimeSurvey/LimeSurvey/commit/f267e0472040485f7e7633f8b7033eedd043bd02
and seems to be completely non-working (all question index features).
Also the question index should be permanently visible in desktop surveys.

LouisGac

LouisGac

2016-02-01 10:27

developer   ~34433

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

LouisGac

LouisGac

2016-02-01 12:27

developer   ~34437

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

Related Changesets

LimeSurvey: master 6ea9e91a

2016-02-01 09:26:53

LouisGac

Details Diff
Fixed issue 10218: question index in FireFox Affected Issues
10218
mod - templates/default/scripts/template.js Diff File
mod - templates/material_design/scripts/template.js Diff File
mod - templates/metro_ode/scripts/template.js Diff File
mod - templates/news_paper/scripts/template.js Diff File
mod - templates/night_mode/scripts/template.js Diff File
mod - templates/ubuntu_orange/scripts/template.js Diff File

LimeSurvey: master 5c1e975a

2016-02-01 11:26:13

LouisGac

Details Diff
Fixed issue 10218 : mandatory validation when index is active Affected Issues
10218
mod - application/helpers/SurveyRuntimeHelper.php Diff File
mod - application/helpers/replacements_helper.php Diff File

Issue History

Date Modified Username Field Change
2016-01-09 18:09 wingman123 New Issue
2016-01-09 18:09 wingman123 File Added: limesurvey_survey_461143.lss
2016-01-28 20:00 LimeHo Issue Monitored: LimeHo
2016-01-29 11:56 c_schmitz Product Version 2.06+ => 2.5
2016-01-31 11:54 c_schmitz Note Added: 34427
2016-01-31 11:54 c_schmitz Assigned To => c_schmitz
2016-01-31 11:54 c_schmitz Status new => feedback
2016-02-01 03:24 wingman123 Note Added: 34428
2016-02-01 03:24 wingman123 Status feedback => assigned
2016-02-01 09:20 c_schmitz Assigned To c_schmitz => LouisGac
2016-02-01 09:21 c_schmitz Note Added: 34432
2016-02-01 09:22 c_schmitz Note Edited: 34432
2016-02-01 09:30 c_schmitz Relationship added duplicate of 10145
2016-02-01 09:31 c_schmitz Status assigned => closed
2016-02-01 09:31 c_schmitz Resolution open => duplicate
2016-02-01 10:27 LouisGac Changeset attached => LimeSurvey master 6ea9e91a
2016-02-01 10:27 LouisGac Note Added: 34433
2016-02-01 10:27 LouisGac Resolution duplicate => fixed
2016-02-01 12:27 LouisGac Changeset attached => LimeSurvey master 5c1e975a
2016-02-01 12:27 LouisGac Note Added: 34437
2021-08-02 17:11 guest Bug heat 6 => 8