View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09040 | Bug reports | Conditions | public | 2014-05-17 09:32 | 2014-06-11 17:12 |
| Reporter | gadeynebram | Assigned To | c_schmitz | ||
| Priority | urgent | Severity | partial_block | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 2.05+ | ||||
| Summary | 09040: Relevance condition containing TOKEN:ATTRIBUTE_1 is not working | ||||
| Description | I've recently upgraded to 2.05. Some questions in my survey contain conditions like this one: They were generated using the conditions page. The questions do not appear even when attribute_1 is USA of Hungary FS | ||||
| Steps To Reproduce | Add new token with value USA or Hungary FS for attribute_1 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 140502 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | firefox | ||||
| Database type & version | MySQL 5.5.36 | ||||
| Server OS (if known) | Centos | ||||
| Webserver software & version (if known) | Apache 2.2.24 | ||||
| PHP Version | 5.3.25 | ||||
|
I've enabled the debug mode but this does not show any errors. I've also added the {TOKEN:ATTRIBUTE_1} tag in a questions to see what the value is that lime survey uses. This is shown empty. It is rather strange but at one time suddenly the value of the attribute appeared and from then on the condition was working fine. Subsequent new tokens worked also fine. I then reloaded the LSS file to reproduce what had fixed this. However now it is not working any more again. So I'm wondering why it worked. Could this be a SESSION issue? What I did was the following: |
|
|
Always start the survey using the gear icon if you test it. Otherwise the session data is not properly reset. I cannot reproduce the issue primarily because your example survey does not demonstrate it at all, from what I can see. Please attach a two question example replicating the issue. |
|
|
Closed due to missing feedback. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-05-17 09:32 | gadeynebram | New Issue | |
| 2014-05-17 09:32 | gadeynebram | File Added: conditionerror.lss | |
| 2014-05-17 14:11 | gadeynebram | Note Added: 29976 | |
| 2014-05-17 14:11 | gadeynebram | Issue Monitored: gadeynebram | |
| 2014-05-20 14:06 | c_schmitz | Assigned To | => c_schmitz |
| 2014-05-20 14:06 | c_schmitz | Status | new => assigned |
| 2014-05-20 14:12 | c_schmitz | Note Added: 30005 | |
| 2014-05-20 14:12 | c_schmitz | Status | assigned => feedback |
| 2014-06-11 17:12 | c_schmitz | Note Added: 30086 | |
| 2014-06-11 17:12 | c_schmitz | Status | feedback => closed |
| 2014-06-11 17:12 | c_schmitz | Resolution | open => unable to reproduce |