View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20185 | Bug reports | Survey editing | public | 2025-07-22 10:42 | 2025-08-18 17:16 |
| Reporter | TonisOrmisson | Assigned To | tibor.pacalat | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 6.6.x | ||||
| Summary | 20185: Answer Options Not Deleted When Changing Question Type to Multiple Choice | ||||
| Description | When changing a question type from single-choice questions (like L - List Radio) to M (Multiple Choice), LimeSurvey fails to clean up the old answer options from the database, | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
| Bug heat | 10 | ||||
| Complete LimeSurvey version number (& build) | 6.13.0 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | n/a | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | n/a | ||||
|
I think this should be handled in BE. |
|
|
I was thinking maybe the QuestionType should have a property $answers or $hasAnswers or something similar to $subquestions there? |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=39020 |
|
|
Fixed in Release 6.15.6+250818 |
|
|
LimeSurvey: master fdf9f346 2025-08-07 14:42 Gabriel Jenik Committer: GitHub Details Diff |
Fixed issue 20185: Answer Options Not Deleted When Changing Question Type to Multiple Choice (04384) Co-authored-by: lapiudevgit <devgit@lapiu.biz> |
Affected Issues 20185 |
|
| mod - application/models/Question.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-07-22 10:42 | TonisOrmisson | New Issue | |
| 2025-07-22 13:55 | TonisOrmisson | Product Version | => 6.6.x |
| 2025-07-23 15:11 | tibor.pacalat | Assigned To | => gabrieljenik |
| 2025-07-23 15:11 | tibor.pacalat | Status | new => assigned |
| 2025-07-23 15:11 | tibor.pacalat | Note Added: 83140 | |
| 2025-07-23 15:11 | tibor.pacalat | Bug heat | 0 => 2 |
| 2025-07-23 21:45 | TonisOrmisson | Note Added: 83142 | |
| 2025-07-23 21:45 | TonisOrmisson | Bug heat | 2 => 4 |
| 2025-07-30 15:50 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
| 2025-07-30 15:50 | gabrieljenik | Status | assigned => ready for code review |
| 2025-07-30 15:50 | gabrieljenik | Note Added: 83158 | |
| 2025-07-30 15:50 | gabrieljenik | Bug heat | 4 => 6 |
| 2025-07-30 16:13 | DenisChenu | Assigned To | DenisChenu => tibor.pacalat |
| 2025-07-30 16:13 | DenisChenu | Status | ready for code review => ready for testing |
| 2025-08-07 14:42 | Changeset attached | => LimeSurvey master fdf9f346 | |
| 2025-08-07 14:42 | guest | Note Added: 83188 | |
| 2025-08-07 14:42 | guest | Bug heat | 6 => 8 |
| 2025-08-07 14:42 | tibor.pacalat | Status | ready for testing => resolved |
| 2025-08-07 14:42 | tibor.pacalat | Resolution | open => fixed |
| 2025-08-18 17:16 | LimeBot | Note Added: 83236 | |
| 2025-08-18 17:16 | LimeBot | Status | resolved => closed |
| 2025-08-18 17:16 | LimeBot | Bug heat | 8 => 10 |