View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
03921Bug reportsSurvey participants (Tokens)public2009-12-11 12:17
Reporteruser372Assigned ToMazi  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Target Version1.87RC5Fixed in Version1.87RC5 
Summary03921: Notice at generating tokens
Description

I get the following notice, after generating automatically tokens in an active survey:

Notice: Undefined variable: key in /home/.sites/962/site989/web/limesurvey/common.php on line 6242

Btw: no tokens gets generated!

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)8004
I will donate to the project if issue is resolved
BrowserFF
Database type & versionna
Server OS (if known)na
Webserver software & version (if known)na
PHP Versionna

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-11-29 23:26

  ~10312

I just noticed, that this issue is only reproduceable if token length in survey details is set to zero!

c_schmitz

c_schmitz

2009-11-30 03:23

administrator   ~10326

Mazi, can you please have a look at this?

IMHO the minimum token length should be minimum 5 and enforced in the survey settings on save.

Mazi, I can see in the update scripts that you are giving the new field a default of 15, but that does not mean that all the surveys do have a token length set of 15 set by that - because the field is defined to allow NULL in all DB update scripts (and maybe create scripts?)

Mazi

Mazi

2009-11-30 12:46

updater   ~10347

I'll add a note to the docs that the minimum has to be 15 and will update the save script to write at least "5" if a value < 5 is entered. Will hopefully be solved tonight.

Mazi

Mazi

2009-11-30 15:48

updater   ~10373

fixed in rev. 8021

Issue History

Date Modified Username Field Change
2009-11-29 23:22 user372 New Issue
2009-11-29 23:22 user372 Status new => assigned
2009-11-29 23:22 user372 Assigned To => c_schmitz
2009-11-29 23:22 user372 LimeSurvey build number => 8004
2009-11-29 23:22 user372 Browser => FF
2009-11-29 23:22 user372 Database & DB-Version => na
2009-11-29 23:22 user372 Operating System (Server) => na
2009-11-29 23:22 user372 Webserver => na
2009-11-29 23:22 user372 PHP Version => na
2009-11-29 23:23 user372 Description Updated
2009-11-29 23:26 user372 Note Added: 10312
2009-11-30 03:15 c_schmitz Assigned To c_schmitz => Mazi
2009-11-30 03:23 c_schmitz Note Added: 10326
2009-11-30 12:46 Mazi Note Added: 10347
2009-11-30 15:48 Mazi Note Added: 10373
2009-11-30 15:48 Mazi Status assigned => resolved
2009-11-30 15:48 Mazi Fixed in Version => 1.87RC5
2009-11-30 15:48 Mazi Resolution open => fixed
2009-12-11 12:17 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)