View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08218 | Bug reports | Survey participants (Tokens) | public | 2013-10-02 11:02 | 2013-10-07 22:00 |
| Reporter | mrasquinho | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | won't fix | ||
| Product Version | 2.00+ | ||||
| Summary | 08218: Not defined variable | ||||
| Description | When we import a .lsg with some questions which are pushing default answers from tokens, instead of an error message inside the textbox, we get an html code. | ||||
| Steps To Reproduce | 1 - Create a question | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | Build 130924 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome | ||||
| Database type & version | ? | ||||
| Server OS (if known) | Windows Server 2008 R2 Enterprise Edition Service Pack 1 | ||||
| Webserver software & version (if known) | ? | ||||
| PHP Version | 5.4.14 | ||||
| Git branch / Pull Request URL | |||||
|
Can you upload such a lsg file (tell us the language of the survey before please). |
|
|
Here it is a lsq file with one question. It has the answer by default with Token Attribute 1. Notice that if you haven't defined any attribute, instead of a blank answer (or an error 'Not Defined Attribute', but better a blank space), we get an html code inside of the answer box. Edit: Language of this lsq is Portuguese, but it happens with other languages too. |
|
|
Expression manager points out an error by using HTML around the offending element. There is no way for EM to tell if the element is used within a textbox or not as the replacement can also happen on-the-fly on-page while questions are answered on the same page and parsing the whole DOM HTML tree on every page just because the admin did not configure things right is a bit over the top. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-10-02 11:02 | mrasquinho | New Issue | |
| 2013-10-02 18:36 | mrasquinho | Issue Monitored: mrasquinho | |
| 2013-10-02 18:36 | mrasquinho | Issue End Monitor: mrasquinho | |
| 2013-10-02 19:30 | DenisChenu | Note Added: 26485 | |
| 2013-10-03 01:55 | c_schmitz | Assigned To | => c_schmitz |
| 2013-10-03 01:55 | c_schmitz | Status | new => feedback |
| 2013-10-03 10:29 | mrasquinho | Issue Monitored: mrasquinho | |
| 2013-10-03 10:29 | mrasquinho | Issue End Monitor: mrasquinho | |
| 2013-10-03 10:31 | mrasquinho | File Added: limesurvey_question_249.lsq | |
| 2013-10-03 10:32 | mrasquinho | Note Added: 26494 | |
| 2013-10-03 10:32 | mrasquinho | Status | feedback => assigned |
| 2013-10-03 10:33 | mrasquinho | Note Edited: 26494 | |
| 2013-10-07 22:00 | c_schmitz | Note Added: 26607 | |
| 2013-10-07 22:00 | c_schmitz | Status | assigned => closed |
| 2013-10-07 22:00 | c_schmitz | Resolution | open => won't fix |
| 2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |