View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03807 | Bug reports | Survey taking | public | 2009-11-01 12:11 | 2009-11-13 16:40 |
Reporter | Assigned To | lemeur | |||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.86 | ||||
Fixed in Version | 1.87RC1 | ||||
Summary | 03807: Evaluation for group display not the same as for question display with no answer | ||||
Description | If you have in a group by group survey a conditional question that is shown only if the user not selecting a specific answer, the question is not displayed if the user did not answer the question (no answer). | ||||
Additional Information | Steps to reproduce:
| ||||
Tags | No tags attached. | ||||
Attached Files | conditions_same.patch (422 bytes)
--- limesurvey/common.php 2009-10-01 02:17:38.000000000 +0200 +++ survey/common.php 2009-11-01 12:58:52.000000000 +0100 @@ -6018,7 +6018,7 @@ $cvalue=$row['value']; if ($conditionSourceType == 'question') { - if (isset($_SESSION[$row['cfieldname']])) + if (isset($_SESSION[$row['cfieldname']]) && $_SESSION[$row['cfieldname']]!="") { $cfieldname=$_SESSION[$row['cfieldname']]; } | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 7697 | ||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | 5.0.51a-24+lenny2 (Debian) | ||||
Server OS (if known) | Debian 5.0.3 | ||||
Webserver software & version (if known) | Apache/2.2.9 (Debian) | ||||
PHP Version | PHP/5.2.6-1+lenny3 with Suhosin-Patch | ||||
Perhaps the patch solves this issue. |
|
@ Lemeur: please review the attached patch - Thx! |
|
This is fixed in rev 7846. In All-in-one mode and Question per page mode, the question is displayed (as well as the group description). In group per page, the group title was displayed but not the question so the issue was with teh javascript evaluation in group per page mode and not with the group display or not. So with latest fix, the Quesiton is displayed together with teh group title. Thanks for this report, |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-01 12:11 |
|
New Issue | |
2009-11-01 12:11 |
|
Status | new => assigned |
2009-11-01 12:11 |
|
Assigned To | => user372 |
2009-11-01 12:11 |
|
File Added: limesurvey_survey_86233.csv | |
2009-11-01 12:11 |
|
LimeSurvey build number | => 7697 |
2009-11-01 12:11 |
|
Database & DB-Version | => 5.0.51a-24+lenny2 (Debian) |
2009-11-01 12:11 |
|
Operating System (Server) | => Debian 5.0.3 |
2009-11-01 12:11 |
|
Webserver | => Apache/2.2.9 (Debian) |
2009-11-01 12:11 |
|
PHP Version | => PHP/5.2.6-1+lenny3 with Suhosin-Patch |
2009-11-01 13:03 |
|
File Added: conditions_same.patch | |
2009-11-01 13:04 |
|
Note Added: 09935 | |
2009-11-01 13:05 |
|
Issue Monitored: user1237 | |
2009-11-02 08:21 |
|
Note Added: 09945 | |
2009-11-02 08:21 |
|
Assigned To | user372 => lemeur |
2009-11-07 14:10 | lemeur | Note Added: 09990 | |
2009-11-07 14:10 | lemeur | Status | assigned => resolved |
2009-11-07 14:10 | lemeur | Fixed in Version | => 1.87RC1 |
2009-11-07 14:10 | lemeur | Resolution | open => fixed |
2009-11-13 16:40 | c_schmitz | Status | resolved => closed |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |