View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05976Bug reportsSurvey takingpublic2012-04-12 00:42
ReporterMazi Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Target Version1.92+Fixed in Version1.92+ 
Summary05976: Iterate survey sets all "uses_left" to "1" even if there has been set a larger number previously
Description

If you enter a token entry and assign it a uses left value of e.g. 10 so the user can fill out the survey multiple times, the "iterate survey" feature (http://docs.limesurvey.org/Iterate+Survey&structure=English+Instructions+for+LimeSurvey) overwrites that value with value "1".
I don't think that this should be intended behavior because "iterate survey" means that they should be able to enter another data set. If uses left previously was >0, this applies anyway.
So frome my point of view, "iterate survey" should only re-set "uses left" to "1" if the value was 0 previously?!

Steps To Reproduce
  1. Add a token with a uses left value > 1

  2. Click iterate survey (see requirements here: http://docs.limesurvey.org/Iterate+Survey&structure=English+Instructions+for+LimeSurvey)

  3. Check uses left value

Additional Information

Didn't check for Limesurvey 2.0, will probably behave similar.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)201203
I will donate to the project if issue is resolvedNo
BrowserFirefox 9
Database type & versionMySQL 5
Server OS (if known)Win 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-04-02 15:18

administrator   ~18162

I think that's a valid point. Do you want to fix it or have me a look at it?

Mazi

Mazi

2012-04-02 15:28

updater   ~18165

Please have a look at it, you know the code far better, especially if this also shows up at LS 2.

Thanks!

c_schmitz

c_schmitz

2012-04-09 16:02

administrator   ~18287

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

c_schmitz

c_schmitz

2012-04-12 00:42

administrator   ~18325

New 1.91+ version released.

Related Changesets

LimeSurvey: master 07ae8131

2012-04-09 07:03:16

c_schmitz

Details Diff
Fixed issue 05976: Iterate survey sets all "uses_left" to "1" even if there has been set a larger number previously Affected Issues
05976
mod - admin/iterate_survey.php Diff File

Issue History

Date Modified Username Field Change
2012-04-02 15:11 Mazi New Issue
2012-04-02 15:11 Mazi Status new => assigned
2012-04-02 15:11 Mazi Assigned To => c_schmitz
2012-04-02 15:18 c_schmitz Note Added: 18162
2012-04-02 15:28 Mazi Note Added: 18165
2012-04-09 16:02 c_schmitz Changeset attached => LimeSurvey master 07ae8131
2012-04-09 16:02 c_schmitz Note Added: 18287
2012-04-09 16:02 c_schmitz Resolution open => fixed
2012-04-09 16:03 c_schmitz Status assigned => resolved
2012-04-09 16:03 c_schmitz Fixed in Version => 1.92+
2012-04-12 00:42 c_schmitz Note Added: 18325
2012-04-12 00:42 c_schmitz Status resolved => closed