View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18712 | Bug reports | Survey editing | public | 2023-04-04 10:50 | 2026-10-31 13:19 |
| Reporter | ritapas | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 5.6.x | ||||
| Summary | 18712: unmanaged error when importing invalid lsg group file | ||||
| Description | when importing invalid lsg group file (e.g. empy one) you get an unmanaged error | ||||
| Steps To Reproduce | Steps to reproduceopen a survey goto import group Expected resultmanaged error message Actual resultunmanaged error message | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 5.6.13 demo version | ||||
| 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 | ||||
| Git branch / Pull Request URL | |||||
|
It's managed :) But right : must not be a 500 error ;) |
|
|
yes sorry |
|
|
just kidding ;) |
|
|
of course the same happens with questions |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41190 |
|
|
LimeSurvey: master 6ab97fcb 2026-10-31 13:18 Details Diff |
Fixed issue 18712: Importing an invalid question file showed an internal server error instead of an error message Dev XMLImportQuestion() returns a fatalerror for unreadable or non-question files instead of throwing a CHttpException, parser warnings are suppressed as in the survey import (also for the group import) Dev The uploaded file is now deleted when the question import fails, and the invalid group file message is translated |
Affected Issues 18712 |
|
| mod - application/controllers/QuestionAdministrationController.php | Diff File | ||
| mod - application/helpers/admin/import_helper.php | Diff File | ||
| mod - tests/unit/helpers/ImportTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-04-04 10:50 | ritapas | New Issue | |
| 2023-04-04 10:50 | ritapas | File Added: image.png | |
| 2023-04-04 10:52 | DenisChenu | Note Added: 74363 | |
| 2023-04-04 10:52 | DenisChenu | Bug heat | 0 => 2 |
| 2023-04-04 11:32 | ritapas | Note Added: 74364 | |
| 2023-04-04 11:32 | ritapas | Bug heat | 2 => 4 |
| 2023-04-04 15:15 | DenisChenu | Note Added: 74369 | |
| 2023-08-30 13:22 | ritapas | Note Added: 76785 | |
| 2023-08-30 13:22 | ritapas | File Added: image-2.png | |
| 2023-09-08 21:33 | gabrieljenik | Status | new => confirmed |
| 2026-10-31 13:19 | c_schmitz | Changeset attached | => LimeSurvey master 6ab97fcb |
| 2026-10-31 13:19 | c_schmitz | Note Added: 87041 | |
| 2026-10-31 13:19 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-31 13:19 | c_schmitz | Status | confirmed => resolved |
| 2026-10-31 13:19 | c_schmitz | Resolution | open => fixed |
| 2026-10-31 13:19 | c_schmitz | Bug heat | 4 => 6 |