View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09437Bug reportsAssessmentspublic2015-05-12 09:35
ReporterDrTodd Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
Product Version2.05+ 
Summary09437: Empty question groups will affect the display of subsequent groups.
Description

I discovered that when a survey has several question groups, an empty question group will make subsequent question groups not display their questions properly.

This is frustrating because it is impossible to preview a group unless all groups before it have questions in them.

Steps To Reproduce

1) Create a survey with more than two question groups.

2) Add questions to the first and third question groups, but leave the second group empty.

3) Preview survey to find that the questions in the third group don't display.

Additional Information

I will be making a donation regardless of how quickly this bug is fixed.

If this cannot be fixed easily, it may be helpful to make a note in the online manual about this bug so that people don't freak out when they can't get a question set to work.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)349234
I will donate to the project if issue is resolvedYes
BrowserFirefox, Chrom, Safari
Database type & version? hosted on LimeService.com
Server OS (if known)? hosted on LimeService.com
Webserver software & version (if known)? hosted on LimeService.com
PHP Version? hosted on LimeService.com

Relationships

duplicate of 09618 closedc_schmitz Installed with nginx, there is random bugs 

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2015-01-05 10:29

updater   ~31415

I can reproduce this issue.

Since this causes a really weird behavior (the user is not able to preview a question ta a different group) we should try to fix this.

DenisChenu

DenisChenu

2015-01-06 09:00

developer   ~31421

It's a realy old issue, and there are surely some other bug for this issue.

Hard to fix because it's in Expression Manager concept ....

Mazi

Mazi

2015-01-06 09:06

updater   ~31422

Can't we run the check being used at survey activation and if there are issues (the activation check should detect the one mentioned) we can show a warning like "Some groups are missing questions, thus the preview may be broken."

Would the check have a very bad influence regarding performance?

DenisChenu

DenisChenu

2015-01-06 10:35

developer   ~31427

Last edited: 2015-01-06 10:35

Check the empty group (and empty arry question) each time we preview group or question ? And put an alert ?
Why not, can be an idea.

Denis

Mazi

Mazi

2015-01-06 11:18

updater   ~31430

But don't we have to check ALL groups?

According to my tests the preview of a group WITH question(s) was broken because a previous group was missing questions.

DenisChenu

DenisChenu

2015-01-06 11:20

developer   ~31431

Yes, if there are one empty group OR one question without subquestion (if needed) -> send an alert.

Mazi

Mazi

2015-01-06 11:28

updater   ~31432

Sounds good. I hope we can simply re-use the code from the activation function.

DenisChenu

DenisChenu

2015-05-12 09:34

developer   ~32173

@Mazi : can you test after Carsten fix (last 2.06 version) : https://github.com/LimeSurvey/LimeSurvey/commit/f714ce1219d901f99713c7799bc280546155f80f

Think it's same

Issue History

Date Modified Username Field Change
2015-01-05 03:35 DrTodd New Issue
2015-01-05 03:35 DrTodd File Added: limesurvey_survey_349234.lss
2015-01-05 10:29 Mazi Note Added: 31415
2015-01-06 08:50 c_schmitz Assigned To => DenisChenu
2015-01-06 08:50 c_schmitz Status new => assigned
2015-01-06 09:00 DenisChenu Note Added: 31421
2015-01-06 09:06 Mazi Note Added: 31422
2015-01-06 10:35 DenisChenu Note Added: 31427
2015-01-06 10:35 DenisChenu Note Edited: 31427
2015-01-06 11:18 Mazi Note Added: 31430
2015-01-06 11:20 DenisChenu Note Added: 31431
2015-01-06 11:28 Mazi Note Added: 31432
2015-05-07 13:50 DenisChenu Relationship added related to 09618
2015-05-12 09:34 DenisChenu Note Added: 32173
2015-05-12 09:35 DenisChenu Relationship replaced duplicate of 09618
2015-05-12 09:35 DenisChenu Status assigned => closed
2015-05-12 09:35 DenisChenu Assigned To DenisChenu => c_schmitz
2015-05-12 09:35 DenisChenu Resolution open => duplicate