View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 11330 | Bug reports | Survey participants (Tokens) | public | 2016-06-02 19:59 | 2016-06-21 12:17 |
| Reporter | akeyser | Assigned To | c_schmitz | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 2.50.x | ||||
| Summary | 11330: [2.5 and 2.06+] Email Invites using old values or null values for token attributes | ||||
| Description | This is a tough one to really track down, but here's what I'm seeing: If a token attribute is used in an e-mail template, sometimes the result is blank, sometimes it prints out an out-of-date value; both when used alone (e.g., {TOKEN:ATTRIBUTE_1} ) and when used as part of a function (e.g., {strtotime(TOKEN:ATTRIBUTE_1)} ). After enough editing and saving of the token fields, the attribute will eventually update in the invitations. It's almost as if the e-mail template engine is using an internally cached value for the attribute that is either stale or may not be initialized yet (in the case of freshly added tokens or token attributes). Surveys do not have this issue; they seem to update immediately if the token attribute is edited. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 160512(2.5) / 151018(2.06+) | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Google Chrome 49 | ||||
| Database type & version | MySQL 5.6.27-log | ||||
| Server OS (if known) | Windows Server 2008 R2 | ||||
| Webserver software & version (if known) | IIS 7.5 | ||||
| PHP Version | 5.6.14 | ||||
|
I did some more testing on this and it seems time-related; after a certain amount of time, the token attribute value used by the email template will update to the correct value. Cache related? |
|
|
I cannot reproduce that at all with the latest 2.50 Build 160606 Please update and see if you can. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-06-02 19:59 | akeyser | New Issue | |
| 2016-06-02 20:04 | akeyser | Note Added: 39114 | |
| 2016-06-07 11:42 | c_schmitz | Note Added: 39272 | |
| 2016-06-07 11:42 | c_schmitz | Assigned To | => c_schmitz |
| 2016-06-07 11:42 | c_schmitz | Status | new => feedback |
| 2016-06-21 12:17 |
|
Status | feedback => closed |
| 2016-06-21 12:17 |
|
Resolution | open => unable to reproduce |
| 2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |