View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18397 | Bug reports | Survey editing | public | 2022-10-04 15:06 | 2026-10-20 17:06 |
| Reporter | gabrieljenik | Assigned To | c_schmitz | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 5.3.x | ||||
| Summary | 18397: When copying a question with sub-questions, errors from subquestion models are not showed | ||||
| Description | Caught while reviewing 18323. Although models throw error, they are not handled. service/CopyQuestion.php
No checking of errors after | ||||
| Steps To Reproduce | Same as in 18323 | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 5.3.30 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Opera | ||||
| Database type & version | mariadb Ver 15.1 Distrib 10.4.25-MariaDB, for Linux (x86_64) using readline 5.1 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 7.4 | ||||
| Git branch / Pull Request URL | |||||
| related to | 18323 | closed | gabrieljenik | When copying a question with sub-questions, the sub-questions are not copied |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40833 |
|
|
Fixed in Release 7.7.0+261020 |
|
|
LimeSurvey: master 49ecc31f 2026-10-13 20:08 Details Diff |
Fixed issue 18397: When copying a question, subquestions and answer options that could not be copied were dropped without an error message Dev A failed subquestion no longer stops all following subquestions from being copied; the validation errors of all parts (subquestions, answer options, default answers, texts, settings) are shown as warning after the copy and in the survey copy results |
Affected Issues 18397 |
|
| mod - application/controllers/QuestionAdministrationController.php | Diff File | ||
| mod - application/models/services/CopyQuestion.php | Diff File | ||
| mod - application/models/services/CopySurvey.php | Diff File | ||
| add - tests/unit/services/CopyQuestionTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-10-04 15:06 | gabrieljenik | New Issue | |
| 2022-10-04 15:06 | gabrieljenik | Issue generated from: 18323 | |
| 2022-10-04 15:06 | gabrieljenik | Relationship added | related to 18323 |
| 2022-10-04 15:07 | gabrieljenik | Description Updated | |
| 2022-10-04 15:08 | gabrieljenik | Status | new => confirmed |
| 2026-10-13 20:08 | c_schmitz | Changeset attached | => LimeSurvey master 49ecc31f |
| 2026-10-13 20:08 | c_schmitz | Note Added: 86438 | |
| 2026-10-13 20:08 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-13 20:08 | c_schmitz | Status | confirmed => resolved |
| 2026-10-13 20:08 | c_schmitz | Resolution | open => fixed |
| 2026-10-13 20:08 | c_schmitz | Bug heat | 0 => 2 |
| 2026-10-20 17:06 | LimeBot | Note Added: 86603 | |
| 2026-10-20 17:06 | LimeBot | Status | resolved => closed |
| 2026-10-20 17:06 | LimeBot | Bug heat | 2 => 4 |