View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07199Bug reportsSurvey participants (Tokens)public2013-01-22 21:19
ReporterMazi Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Target Version2.00+Fixed in Version2.00+ 
Summary07199: Raising the token's "uses left" value from 0 to X doesn't remove the "completed" date
Description

When using tokens, the uses left value is 1 by default. If a certain users has participated once, that value is decreased to 0 and the user can't fill out the survey anymore.

If you want a user to fill out the survey once more or multiple times, you can raise the uses left value from 0 to 1 or X. Unfortunately, this has NO effect, because the completed date is still there which seems to block someone from participating again, even though uses left is > 0.

Steps To Reproduce
  1. At an activated, token based survey, create a new test user with uses left = 1.

  2. Let the user fill out the survey -> uses left is set to 0 and the completed date is set.

  3. Raise uses left value to anything > 0.

  4. The interface doesn't show the "tyre" icon to start the survey for this token. Probably because the completed date is still set.

  5. If you manually remove the completed date, you can start the survey for this user.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)130111
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Windows 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

2013-01-22 13:06

administrator   ~23740

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

c_schmitz

c_schmitz

2013-01-22 14:53

administrator   ~23744

2.00+ Build 120122 released.

c_schmitz

c_schmitz

2013-01-22 21:19

administrator   ~23770

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

Related Changesets

LimeSurvey: master ea930c21

2013-01-22 12:06:40

c_schmitz

Details Diff
Fixed issue 07199: Raising the token's "uses left" value from 0 to X doesn't remove the "completed" date Affected Issues
07199
mod - application/models/Tokens_dynamic.php Diff File

LimeSurvey: 2.1 a5cb66b1

2013-01-22 12:06:40

c_schmitz

Details Diff
Fixed issue 07199: Raising the token's "uses left" value from 0 to X doesn't remove the "completed" date Affected Issues
07199
mod - application/models/Tokens_dynamic.php Diff File

Issue History

Date Modified Username Field Change
2013-01-16 15:54 Mazi New Issue
2013-01-16 15:54 Mazi Status new => assigned
2013-01-16 15:54 Mazi Assigned To => c_schmitz
2013-01-22 13:06 c_schmitz Changeset attached => LimeSurvey master ea930c21
2013-01-22 13:06 c_schmitz Note Added: 23740
2013-01-22 13:06 c_schmitz Resolution open => fixed
2013-01-22 13:07 c_schmitz Status assigned => resolved
2013-01-22 13:07 c_schmitz Fixed in Version => 2.00+
2013-01-22 14:53 c_schmitz Note Added: 23744
2013-01-22 14:53 c_schmitz Status resolved => closed
2013-01-22 21:19 c_schmitz Changeset attached => LimeSurvey 2.1 a5cb66b1
2013-01-22 21:19 c_schmitz Note Added: 23770
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)