View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18146 | Bug reports | Survey editing | public | 2022-05-24 14:41 | 2022-06-10 08:22 |
Reporter | Mazi | Assigned To | gabrieljenik | ||
Priority | none | Severity | partial_block | ||
Status | feedback | Resolution | open | ||
Product Version | 5.3.x | ||||
Summary | 18146: Using "other" as subquestion code at array questions leads to saving error | ||||
Description | When trying to use "other" as subquestion code at an array question I get the below error message. The error message is misleading though: -> There simply is no "other" option for array questions. So to make array filter work with e.g. a multi choice question with "other" field, it would be great if we could accept "other" as subquestion code for arrays. | ||||
Steps To Reproduce | Steps to reproduceCreate an array question and use "other" as subquestion code. Expected resultAccept "other" as valid code. Actual resultMisleading error message is shown about the "other" free text option which das not exist for this question type. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 5.3.13 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MariaDB 10.1.48 | ||||
Server OS (if known) | Ubuntu 18 | ||||
Webserver software & version (if known) | Apache 2.0 | ||||
PHP Version | 7.4 | ||||
Seems parent question still have other == 'Y' You can try to save as array before try again ? |
|
Hmm, we have switched this question from a single choice question into an array questions. Could this be some kind of left-over? |
|
Surely a single choice with other … But : i think other='N' must be resetted when you save Maybe you can check with 3.X
Then : dev can check how it's done in 3.X |
|
At LS3 the error does NOT show up. I did the steps you described and could use "other" there. |
|
Thank you ! |
|
Pull request : https://github.com/LimeSurvey/LimeSurvey/pull/2443 |
|
Improved pull request : https://github.com/LimeSurvey/LimeSurvey/pull/2443 |
|
Strange. I wasn't able to reproduce the issue on latest master (no patch applied). |
|
You must Create a single choice Other == 'Y' Other are not resetted if question type didn't allow other |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-24 14:41 | Mazi | New Issue | |
2022-05-24 14:41 | Mazi | File Added: image.png | |
2022-05-24 14:56 | DenisChenu | Note Added: 69998 | |
2022-05-24 14:56 | DenisChenu | Bug heat | 0 => 2 |
2022-05-24 14:59 | Mazi | Note Added: 69999 | |
2022-05-24 14:59 | Mazi | Bug heat | 2 => 4 |
2022-05-24 15:03 | DenisChenu | Note Added: 70000 | |
2022-05-24 15:04 | DenisChenu | Note Edited: 70000 | |
2022-05-24 15:07 | Mazi | Note Added: 70001 | |
2022-05-24 15:07 | Mazi | File Added: image-2.png | |
2022-05-24 15:18 | DenisChenu | Note Added: 70003 | |
2022-05-24 15:18 | DenisChenu | Assigned To | => DenisChenu |
2022-05-24 15:18 | DenisChenu | Status | new => assigned |
2022-05-26 19:39 | DenisChenu | Note Added: 70061 | |
2022-05-26 19:39 | DenisChenu | Assigned To | DenisChenu => |
2022-05-26 19:39 | DenisChenu | Status | assigned => ready for testing |
2022-05-30 11:54 | DenisChenu | Note Added: 70097 | |
2022-06-03 22:57 | gabrieljenik | Assigned To | => gabrieljenik |
2022-06-03 22:57 | gabrieljenik | Status | ready for testing => in testing |
2022-06-09 23:35 | gabrieljenik | Note Added: 70337 | |
2022-06-09 23:35 | gabrieljenik | File Added: image-3.png | |
2022-06-09 23:35 | gabrieljenik | Bug heat | 4 => 6 |
2022-06-09 23:35 | gabrieljenik | Status | in testing => feedback |
2022-06-10 08:22 | DenisChenu | Note Added: 70340 | |
2022-06-10 08:22 | DenisChenu | File Added: Capture d’écran du 2022-06-10 08-20-58.png |