View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19880 | Bug reports | Other | public | 2024-12-06 17:54 | 2026-10-26 17:22 |
| Reporter | DenisChenu | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.6.x | ||||
| Summary | 19880: PermissionDeniedException and NotFoundException send 500 error | ||||
| Description | The Exception in application/models/services/Exception send 500 error and not error related to the real issue | ||||
| Steps To Reproduce | Steps to reproduceSend a POST value to questionGroupsAdministration/delete with a survey activated and a real group Expected resulthave a 403 error or a 400 error about deletion Actual resultHave a 500 error | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 6.8.2 | ||||
| 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 | ||||
|
\Exception is done for server issue not form parameters or user issue. Then : must check it before (in contriller) or send HTML header |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41082 |
|
|
LimeSurvey: master a837f546 2026-10-26 17:22 Details Diff |
Fixed issue 19880: Deleting a question group of an active survey or without delete permission showed a server error instead of an error message Dev QuestionGroupsAdministrationController::actionDelete() now catches the service's PermissionDeniedException like the conditions refusal and returns the usual error message |
Affected Issues 19880 |
|
| mod - application/controllers/QuestionGroupsAdministrationController.php | Diff File | ||
| add - tests/unit/controllers/QuestionGroupDeleteRefusedTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-12-06 17:54 | DenisChenu | New Issue | |
| 2024-12-06 17:54 | DenisChenu | File Added: Capture d’écran du 2024-12-06 17-50-10.png | |
| 2024-12-06 17:55 | DenisChenu | Note Added: 81593 | |
| 2024-12-06 17:55 | DenisChenu | Bug heat | 0 => 2 |
| 2026-10-26 17:20 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-26 17:20 | c_schmitz | Status | new => confirmed |
| 2026-10-26 17:22 | c_schmitz | Changeset attached | => LimeSurvey master a837f546 |
| 2026-10-26 17:22 | c_schmitz | Note Added: 86870 | |
| 2026-10-26 17:22 | c_schmitz | Status | confirmed => resolved |
| 2026-10-26 17:22 | c_schmitz | Resolution | open => fixed |
| 2026-10-26 17:22 | c_schmitz | Bug heat | 2 => 4 |