View Issue Details

This bug affects 1 person(s).
 20
IDProjectCategoryView StatusLast Update
04604Bug reportsSurvey takingpublic2010-09-29 16:29
ReportermaxTC Assigned Tolemeur  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.90+ 
Summary04604: Iterate survey > it starts by the end ! (bug in the v1.90+ upgrate)
Description

I report here a bug for which I've written a post in the forum (#48736).
Using an iterate survey (thus with token-based answers persistence activated, when a user starts again the survey (after the function “iterate survey” have been used), he lands systematically at the last page (last questions group) instead of the first one (of course when presentation format is "group by group").

Steps To Reproduce

Parameters:
-> a survey with at least 2 questions groups
-> presentation format = group by group
-> Anonymous answers? =NO
-> Enable token-based response persistence? = YES
-> a token entry

And the steps to reproduce:

  1. a user invited by token fills the survey
  2. the function "iterate survey" is done
  3. the same user fills again the survey
    => and the question: where does the user land? at the first or the last question group ?
Additional Information

I did a lot of tests to undestand where was the problem. Here are some elements :

  • the problem appears in V1.90+ only (not in previous version)
  • the problem appears regardless of the browser (so, I guess, it's not a cookie based problem).
TagsNo tags attached.
Bug heat20
Complete LimeSurvey version number (& build)9130
I will donate to the project if issue is resolved
Browsertested in FF, IE, GC, Safari
Database type & versionMySQL 5.0.82
Server OS (if known)?
Webserver software & version (if known)?
PHP Version5.2.9

Relationships

has duplicate 04639 closedc_schmitz Survey iterate and token-based answers persistence problem 

Users monitoring this issue

maxTC

Activities

ronvdburg

ronvdburg

2010-09-17 15:47

reporter   ~12857

I suggest that field 'lastpage' has to be reset also.

How about changing the line:
$updateqr = "UPDATE $surveytable SET submitdate=NULL;\n";
to
$updateqr = "UPDATE $surveytable SET submitdate=NULL, lastpage=NULL;\n";

in admin/iterate_survey.php?

lemeur

lemeur

2010-09-18 09:09

developer   ~12858

Fixed in rev 9137.
Thanks to ronvdburg for the perfect fix (as usual) ;-)

Thibault

maxTC

maxTC

2010-09-18 11:21

reporter   ~12862

It's actually perfect!
Continue to be impressed by the speed of reaction!
Thanks a lot!
maxTC

c_schmitz

c_schmitz

2010-09-29 16:29

administrator   ~12934

New 1.90+ version was released.

Issue History

Date Modified Username Field Change
2010-09-17 10:59 maxTC New Issue
2010-09-17 11:17 DenisChenu Issue Monitored: DenisChenu
2010-09-17 14:54 maxTC Issue Monitored: maxTC
2010-09-17 15:47 ronvdburg Note Added: 12857
2010-09-18 08:48 lemeur Assigned To => lemeur
2010-09-18 08:48 lemeur Status new => assigned
2010-09-18 09:09 lemeur Note Added: 12858
2010-09-18 09:09 lemeur Status assigned => resolved
2010-09-18 09:09 lemeur Fixed in Version => 1.90+
2010-09-18 09:09 lemeur Resolution open => fixed
2010-09-18 11:21 maxTC Note Added: 12862
2010-09-19 16:06 DenisChenu Issue End Monitor: DenisChenu
2010-09-29 16:29 c_schmitz Note Added: 12934
2010-09-29 16:29 c_schmitz Status resolved => closed
2010-10-01 10:17 DenisChenu Relationship added has duplicate 04639
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking
2021-08-04 01:37 guest Bug heat 18 => 20