View Issue Details

This bug affects 1 person(s).
 18
IDProjectCategoryView StatusLast Update
08846Bug reportsSurvey takingpublic2014-05-30 13:26
Reportersmsactainfo Assigned ToDenisChenu  
PrioritynormalSeveritytext 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary08846: "Resume later" button unavailable when reloading a survey after using this button
Description

In a group-by-group Survey where "Resume later" is authorized, the "Resume later" button is available at bottom of the window when I start answering the Survey. But if I use the "Resume later", close my browser, and reconnect to the Survey using the URL received by mail, the "Resume later" button is no more available. That means that one must answer the survey in max 2 sessions.

Steps To Reproduce

Load the .lss file contained in the attached archive and use it.

Additional Information

Screen shots in 2 .png files in the attached archive.

TagsNo tags attached.
Attached Files
FinrPlusTardAbsent.png (4,465 bytes)   
FinrPlusTardAbsent.png (4,465 bytes)   
Bug heat18
Complete LimeSurvey version number (& build)140302
I will donate to the project if issue is resolvedNo
BrowserIE 10 / Chrome / Firefox
Database type & versionPostgreSQL 8.4
Server OS (if known)Linux Debian 3.2.51 64 bits
Webserver software & version (if known)Apache 2.2.22
PHP Version5.4.4

Relationships

has duplicate 09057 closedDenisChenu Unable to save survey previously loaded 

Users monitoring this issue

mfaber

Activities

DenisChenu

DenisChenu

2014-03-13 11:15

developer   ~29223

Hi,

Please can you trye (With a more of 3 group survey)

  • Fill first group
  • Resume later
  • Close your browser
  • Click on the link sended
  • Fill 2nd group
  • Close your browser
  • Click again on the link sended

I think saved survey come back again. Need to be more clear in documentation for admin and in texte for user (in email : you can use this link until you sumit the survey).

smsactainfo

smsactainfo

2014-03-13 15:25

reporter   ~29240

Hi,

I tried with a survey containing 10 groups (see .lss file attached).
I started the survey, filled the 1st group, clicked the "Resume later" ("Finir plus tard" in French) button, and closed my browser.
I used the e-mailed link to reconnect to the survey. It opened on the page corresponding to the 1st group, with the data I input during the 1st session, but the "Resume later" ("Finir plus tard") button is not displayed on the left of the progress bar (see screen shot in .png file).
So it is impossible to test with saving after 2nd, 3rd... groups.

Sorry for attached file missing in my 1st post!

DenisChenu

DenisChenu

2014-03-13 15:30

developer   ~29241

If survey is already saved: USER don't have to save again.

In frenh:
Passe au group 2 puis 3, femer ton navigateur puis retest le lien, il n'est pas perdu, c'est pour reprendre le questionnaire en l'état actuel.

Il faudrait peut être mieux expliquer cela, mais le bouton 'sauvegarder' n'est plus nécessaire : puisque la sauvegarde existe.

smsactainfo

smsactainfo

2014-03-13 15:48

reporter   ~29242

The trouble is that when I use "Resume later" at the end of 1st group, I still have a lot of data to input in other groups. But when I restart, I have to answer to all remaining groups, without the possibility of making a second break because the "Resume later" is not available.
The same Survey used on an other server with Limesurvey 2.00+ build 131107 allows to "Resume later" each time I reconnect to the Survey as long as I did not finalize by sending the answers.

DenisChenu

DenisChenu

2014-03-13 17:41

developer   ~29248

But, you DON'T need to save again : same url allow to reload the same survey again and again.

You're rigth : we just need a SAVED to allow save without move next and previous and the 'step', but saved each time you click next/previous

jleimgruber

jleimgruber

2014-03-14 00:01

reporter   ~29253

After upgrading to the latest 2.05+, my users were confused about this too.

Doing testing shows that if you don't at least try to push 'next/prev' button (even if you are not allowed to due to incomplete information), it won't save.

We've instructed users to simply always click next (even if it fails) before closing the browser, but of course people are forgetting and losing data.

It would be great if the "resume later" button were replaced with a "save" button instead of disappearing. The "save" button could give a pop-up notification so that makes people feel more comfortable than just trusting it is saved and closing the browser.

Thanks!

DenisChenu

DenisChenu

2014-03-14 09:30

developer   ~29255

Yes, its what i planning to do, need time.

DenisChenu

DenisChenu

2014-03-18 22:14

developer   ~29363

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

jleimgruber

jleimgruber

2014-03-19 00:09

reporter   ~29367

I just tested locally and it looks good. I go through the normal routine:
1) click 'Resume Later'
2) providing a name/password and receive e-mail successfully
3) subsequent clicks of 'Resume Later' save data and popup "Your responses were successfully saved."

My users will be happy! Looks good! Thanks!
-John L

DenisChenu

DenisChenu

2014-03-19 08:31

developer   ~29368

I make a lot of other change here : for example show "load" button even in the first page with showwelcome to false and some other .

c_schmitz

c_schmitz

2014-03-20 14:52

administrator   ~29456

2.05+ Build 140320 released

Related Changesets

LimeSurvey: master 126cc8f0

2014-03-18 21:14:09

DenisChenu

Details Diff
Fixed issue 08846: "Resume later" button unavailable when reloading a survey after using this button
Dev: use $_SESSION['survey_'.$surveyid]['scid'] to control if sutrvey is already saved, and direct save if true
Dev: Fix an PHP notice when reload the first page with token enabled
Affected Issues
08846
mod - application/controllers/survey/index.php Diff File
mod - application/helpers/SurveyRuntimeHelper.php Diff File
mod - application/helpers/frontend_helper.php Diff File
mod - application/helpers/replacements_helper.php Diff File

Issue History

Date Modified Username Field Change
2014-03-12 15:31 smsactainfo New Issue
2014-03-12 15:31 smsactainfo File Added: Resume_later.zip
2014-03-13 11:15 DenisChenu Note Added: 29223
2014-03-13 11:15 DenisChenu File Deleted: Resume_later.zip
2014-03-13 11:16 DenisChenu View Status private => public
2014-03-13 11:16 DenisChenu Assigned To => DenisChenu
2014-03-13 11:16 DenisChenu Status new => feedback
2014-03-13 11:16 DenisChenu Priority high => normal
2014-03-13 11:16 DenisChenu Severity partial_block => text
2014-03-13 15:14 smsactainfo File Added: QuestionnaireTest10groupes.lss
2014-03-13 15:15 smsactainfo Issue Monitored: smsactainfo
2014-03-13 15:16 smsactainfo Issue End Monitor: smsactainfo
2014-03-13 15:16 smsactainfo Issue Monitored: smsactainfo
2014-03-13 15:16 smsactainfo Issue End Monitor: smsactainfo
2014-03-13 15:17 smsactainfo File Added: FinrPlusTardAbsent.png
2014-03-13 15:19 smsactainfo Issue Monitored: smsactainfo
2014-03-13 15:19 smsactainfo Issue End Monitor: smsactainfo
2014-03-13 15:25 smsactainfo Note Added: 29240
2014-03-13 15:25 smsactainfo Status feedback => assigned
2014-03-13 15:30 DenisChenu Note Added: 29241
2014-03-13 15:48 smsactainfo Note Added: 29242
2014-03-13 17:41 DenisChenu Note Added: 29248
2014-03-14 00:01 jleimgruber Note Added: 29253
2014-03-14 00:53 mfaber Issue Monitored: mfaber
2014-03-14 09:30 DenisChenu Note Added: 29255
2014-03-18 22:14 DenisChenu Changeset attached => LimeSurvey master 126cc8f0
2014-03-18 22:14 DenisChenu Note Added: 29363
2014-03-18 22:14 DenisChenu Resolution open => fixed
2014-03-18 22:14 DenisChenu Status assigned => resolved
2014-03-18 22:14 DenisChenu Fixed in Version => 2.05+
2014-03-19 00:09 jleimgruber Note Added: 29367
2014-03-19 08:31 DenisChenu Note Added: 29368
2014-03-20 14:52 c_schmitz Note Added: 29456
2014-03-20 14:52 c_schmitz Status resolved => closed
2014-05-30 13:26 DenisChenu Relationship added has duplicate 09057
2021-08-02 17:32 guest Bug heat 14 => 18