View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 03921 | Bug reports | Survey participants (Tokens) | public | 2009-11-29 23:22 | 2009-12-11 12:17 |
| Reporter | Assigned To | Mazi | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 1.87RC5 | ||||
| Summary | 03921: 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! | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 8004 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | FF | ||||
| Database type & version | na | ||||
| Server OS (if known) | na | ||||
| Webserver software & version (if known) | na | ||||
| PHP Version | na | ||||
| Git branch / Pull Request URL | |||||
|
I just noticed, that this issue is only reproduceable if token length in survey details is set to zero! |
|
|
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?) |
|
|
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. |
|
|
fixed in rev. 8021 |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-11-29 23:22 |
|
New Issue | |
| 2009-11-29 23:22 |
|
Status | new => assigned |
| 2009-11-29 23:22 |
|
Assigned To | => c_schmitz |
| 2009-11-29 23:22 |
|
LimeSurvey build number | => 8004 |
| 2009-11-29 23:22 |
|
Browser | => FF |
| 2009-11-29 23:22 |
|
Database & DB-Version | => na |
| 2009-11-29 23:22 |
|
Operating System (Server) | => na |
| 2009-11-29 23:22 |
|
Webserver | => na |
| 2009-11-29 23:22 |
|
PHP Version | => na |
| 2009-11-29 23:23 |
|
Description Updated | |
| 2009-11-29 23:26 |
|
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) |