View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06037Bug reportsSurvey participants (Tokens)public2012-05-01 11:56
Reporteruser19466Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.92+ 
Summary06037: 0 Uses Left when importing tokens from CSV
Description

If you are importing tokens from a CSV file, and you don't explicitly state a value for "Uses Left", a default of zero is given.

It seems much more likely that the desired behaviour would be a default of one. I mean, why add someone to a survey and then not let them fill it in?

Steps To Reproduce

Create a CSV file with only the minimum required fields.

Import it into the system.

Checl the list of tokens to see that the "Uses Left" for the newly imported tokens is 0.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)120226
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-04-20 22:14

administrator   ~18460

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

c_schmitz

c_schmitz

2012-04-20 22:14

administrator   ~18461

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

c_schmitz

c_schmitz

2012-05-01 11:56

administrator   ~18515

New 1.92+ build released

Related Changesets

LimeSurvey: master e6d846dd

2012-04-20 13:14:35

c_schmitz

Details Diff
Fixed issue 06037: Zero uses left by default when importing tokens from CSV Affected Issues
06037
mod - admin/tokens.php Diff File

LimeSurvey: Yii 5f4572cc

2012-04-20 13:14:46

c_schmitz

Details Diff
Fixed issue 06037: Zero uses left by default when importing tokens from CSV Affected Issues
06037
mod - application/controllers/admin/tokens.php Diff File

Issue History

Date Modified Username Field Change
2012-04-20 21:45 user19466 New Issue
2012-04-20 22:13 c_schmitz Assigned To => c_schmitz
2012-04-20 22:13 c_schmitz Status new => assigned
2012-04-20 22:14 c_schmitz Changeset attached => LimeSurvey master e6d846dd
2012-04-20 22:14 c_schmitz Note Added: 18460
2012-04-20 22:14 c_schmitz Resolution open => fixed
2012-04-20 22:14 c_schmitz Changeset attached => LimeSurvey Yii 5f4572cc
2012-04-20 22:14 c_schmitz Note Added: 18461
2012-04-20 22:14 c_schmitz Status assigned => resolved
2012-04-20 22:14 c_schmitz Fixed in Version => 1.92+
2012-05-01 11:56 c_schmitz Note Added: 18515
2012-05-01 11:56 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)