View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09991Bug reportsSurvey participants (Tokens)public2016-01-22 08:54
Reportermas_carpone Assigned Tosammousa  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Summary09991: LS3 - Generate tokens function doesn't work
Description

When trying to generate tokens, everything happens as normal except that the following message is given: "Generated 0 tokens" and that indeed no tokens are created

Steps To Reproduce
  • create a new token and inform all fields but "token"
  • generate tokens
TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)20151022
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)n/a
PHP Versionn/a

Users monitoring this issue

There are no users monitoring this issue.

Activities

mfavetti

mfavetti

2015-12-10 00:12

developer   ~33834

I assume this is on the 2.5 branch? Can't find build 20151022 to test against.

Cannot reproduce when testing with Version 2.5RC4 Build 151207 (latest unstable atm) The generate tokens function appears to work fine. Looks like this is resolved?

DenisChenu

DenisChenu

2015-12-11 12:41

developer   ~33889

No,

There are a 3.0/develop branch

sammousa

sammousa

2016-01-13 16:51

reporter   ~34274

This has been resolved.
The issue was newly generated tokens had their token set to "" instead of NULL.

Resolved using default value validator => null.

sammousa

sammousa

2016-01-13 16:51

reporter   ~34275

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

Related Changesets

LimeSurvey: develop f1077a0a

2016-01-13 15:50:34

sammousa

Details Diff
Fixed issue 09991: LS3 - Generate tokens function doesn't work Affected Issues
09991
mod - protected/controllers/TokensController.php Diff File
mod - protected/models/Token.php Diff File

Issue History

Date Modified Username Field Change
2015-10-22 14:34 mas_carpone New Issue
2015-12-10 00:12 mfavetti Note Added: 33834
2015-12-11 12:41 DenisChenu Note Added: 33889
2015-12-11 12:41 DenisChenu Product Version => 3.0
2015-12-17 14:51 DenisChenu Assigned To => sammousa
2015-12-17 14:51 DenisChenu Status new => assigned
2016-01-13 16:51 sammousa Note Added: 34274
2016-01-13 16:51 sammousa Status assigned => resolved
2016-01-13 16:51 sammousa Resolution open => fixed
2016-01-13 16:51 sammousa Changeset attached => LimeSurvey develop f1077a0a
2016-01-13 16:51 sammousa Note Added: 34275
2016-01-22 08:54 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)