View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14507 | Bug reports | Theme editor | public | 2019-02-08 15:14 | 2019-10-16 14:28 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | reopened | ||
Product Version | 3.15.x | ||||
Summary | 14507: Unable to use some needed var in EM twig | ||||
Description | Using SAVEDID or TOKEN show empty string in some twig files (question.twig here, but same with completed.twig | ||||
Steps To Reproduce | Import included theme + included survey, test a token | ||||
Additional Information | SAVEDID : really needed Other one ? Why this ones and not SURVEYRESSOURCEURL ? | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 3.15.8 github | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | not relevant | ||||
Webserver software & version (if known) | not relevant | ||||
PHP Version | not relevant | ||||
related to | 14415 | closed | DenisChenu | Unale to use SAVEDID or some other reponse related var in submit.twig |
The big question : why it's OK for TEMPLATEURL (only in template replace) and not SAVEDID : same function ? |
|
OK : git it |
|
Oh, better understanding : SAVEDID and TOKEN are filled at start of survey, before survey is saved or session is filled. |
|
I must test with optout where TOKEN seems needed, but i think tempVars replace coreVars |
|
https://github.com/LimeSurvey/LimeSurvey/commit/678f47a5f7360319c87055efc8a50c8b7409cdd9 |
|
@DenisChenu: |
|
Because it was set directly in LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager Then it was in email template too. But more iuf i remind it was added because coreReplacements is not always done, but setVariableAndTokenMappingsForExpressionManager always. |
|
|
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-02-08 15:14 | DenisChenu | New Issue | |
2019-02-08 15:14 | DenisChenu | Status | new => assigned |
2019-02-08 15:14 | DenisChenu | Assigned To | => DenisChenu |
2019-02-08 15:14 | DenisChenu | File Added: SAVEDID_vanilla.zip | |
2019-02-08 15:14 | DenisChenu | File Added: survey_archive_SAVEDID.lsa | |
2019-02-08 15:14 | DenisChenu | File Added: Capture d’écran du 2019-02-08 15-12-34.png | |
2019-02-08 15:15 | DenisChenu | Relationship added | related to 14415 |
2019-02-08 15:16 | DenisChenu | Description Updated | |
2019-02-08 15:31 | DenisChenu | Note Added: 50471 | |
2019-02-08 15:42 | DenisChenu | Note Added: 50472 | |
2019-02-08 21:27 | jelo | Issue Monitored: jelo | |
2019-02-09 13:52 | DenisChenu | Note Added: 50480 | |
2019-02-12 08:50 | DenisChenu | Note Added: 50509 | |
2019-02-12 08:51 | DenisChenu | Note Added: 50510 | |
2019-02-26 19:00 | DenisChenu | Status | assigned => resolved |
2019-02-26 19:00 | DenisChenu | Resolution | open => fixed |
2019-02-26 19:00 | DenisChenu | Note Added: 50689 | |
2019-04-30 09:11 | c_schmitz | Status | resolved => closed |
2019-10-16 13:54 |
|
Status | closed => feedback |
2019-10-16 13:54 |
|
Resolution | fixed => reopened |
2019-10-16 13:54 |
|
Note Added: 54063 | |
2019-10-16 14:23 | DenisChenu | Note Added: 54064 | |
2019-10-16 14:28 | DenisChenu | File Added: Capture d’écran du 2019-10-16 14-25-04.png | |
2019-10-16 14:28 | DenisChenu | Note Added: 54065 | |
2019-10-16 14:28 | DenisChenu | Status | feedback => closed |
2019-10-16 14:28 | DenisChenu | File Added: Capture d’écran du 2019-10-16 14-28-30.png | |
2021-08-02 17:28 | guest | Bug heat | 4 => 6 |