|
|
Reporter | TonisOrmisson | Assigned To | | |
---|
Priority | none | Severity | minor | |
---|
Status | new | Resolution | open | |
---|
Product Version | 6.6.x | |
---|
This bug affects 1 person(s).
0
|
|
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,
causing orphaned records and data inconsistency. |
---|
Steps To Reproduce |
- Create a new survey
- Add a question with type L (List Radio)
- Add several answer options (e.g., "Option A", "Option B", "Option C")
- Save the question
- Change the question type to M (Multiple Choice)
- Save the question
- Check database:
- SELECT * FROM lime_answers WHERE qid = [question_id]
- SELECT al.* FROM lime_answer_l10ns al JOIN lime_answers a ON al.aid = a.aid WHERE a.qid = [question_id]
|
---|
Tags | No tags attached. |
---|
|
|
Bug heat | 0 |
---|
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 |
---|
|
|