View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04236 | Bug reports | Conditions | public | 2010-03-23 16:55 | 2010-09-07 17:36 |
| Reporter | temp | Assigned To | jcleeland | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 1.87+ | ||||
| Summary | 04236: the new behaviours of array_filter | ||||
| Description | Somewhere between 187plus-build8227 and build8498 the behaviour of array_filter changed. This occurs only when I select nothing in the original "model" multiple choice question. If I choose one or more choices, then the both the include and exclude array filters work fine on subsequent questions. But if I choose nothing at all from the original question, the filters don't work at all. Even if I use the include filter, all the choices appear. If I use the exclude filter, none of the choices appear, even tho they should all appear. I traced it down to two lines in the php code: qanda.php and If I remove the empty($selected) check, it works as I expect. | ||||
| Steps To Reproduce | Use a multiple choice questions for array)filter, and choose nothing in the multiple-choice question. All following questions filtering on that orginal question don't work properly. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 8498 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | doesn't matter | ||||
| Server OS (if known) | linux | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | not sure | ||||
| Git branch / Pull Request URL | |||||
|
This does not appear to be a problem in 1.90, can anyone confirm? |
|
|
Can you attach a sample survey so we can try to reproduce the problem? |
|
|
temp, please attach a sample survey - otherwise the issue will be closed because we cannot reproduce. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-03-23 16:55 | temp | New Issue | |
| 2010-03-23 20:24 | c_schmitz | Status | new => assigned |
| 2010-03-23 20:24 | c_schmitz | Assigned To | => jcleeland |
| 2010-08-04 12:17 | jcleeland | Note Added: 12547 | |
| 2010-08-05 00:09 | Mazi | Note Added: 12560 | |
| 2010-08-05 00:09 | Mazi | Status | assigned => feedback |
| 2010-09-06 00:04 | c_schmitz | Note Added: 12760 | |
| 2010-09-07 17:36 | c_schmitz | Status | feedback => closed |
| 2010-09-07 17:36 | c_schmitz | Resolution | open => unable to reproduce |