View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19880Bug reportsOtherpublic2024-12-06 17:55
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.6.x 
Summary19880: 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 reproduce

Send a POST value to questionGroupsAdministration/delete with a survey activated and a real group
(you can update HTML of group menu for this)

Expected result

have a 403 error or a 400 error about deletion

Actual result

Have a 500 error

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)6.8.2
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2024-12-06 17:55

developer   ~81593

\Exception is done for server issue not form parameters or user issue.
https://github.com/LimeSurvey/LimeSurvey/blob/master/application/models/services/Exception.php

Then : must check it before (in contriller) or send HTML header

Issue History

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