View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20830 | Bug reports | Question editor | public | 2026-11-07 19:44 | 2026-11-07 19:44 |
| Reporter | c_schmitz | Assigned To | |||
| Priority | none | Severity | minor | ||
| Status | new | Resolution | open | ||
| Product Version | 7.9.x | ||||
| Summary | 20830: New editor: after changing the question type, deleted answer options are still shown until reload | ||||
| Description | When you change the type of a question in the new editor, the server deletes all answer options of the question (QuestionService::updateQuestionData() calls removeAnswersAndDependentConditions() on every type change), even between types that both use answer options, e.g. List (radio) -> List (dropdown). The new editor does not reflect this: the question card still shows the old answer options after the type change. They only disappear after reloading the page. The user believes the answer options were kept, and any further edits to them are made on options that no longer exist. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | Expected: either keep the answer options when the new type also uses answer options, or remove them from the editor immediately (ideally with a warning before the type change that answer options and conditions on them will be deleted). Found while documenting the question type change for the manual. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 0 | ||||
| Complete LimeSurvey version number (& build) | 7.9.1 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
| Git branch / Pull Request URL | N/A | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-07 19:44 | c_schmitz | New Issue |