View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20811Bug reportsConditionspublic2026-10-29 18:21
Reporterzufolo441 Assigned Toeusweisker  
PrioritynoneSeveritypartial_block 
Status ready for code reviewResolutionopen 
Product Version7.7.x 
Summary20811: file upload mandatory doesn't block saving
Description

Hi,
in a survey, If I upload a file and then I remove it, even if question is mandatory I'm still able to save the answer
in responses table I saw that if the field contains [] instead of null, the answer can be saved.

Steps To Reproduce

create a fileupload question, mandatory
upload a file
remove the file
save.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)7.8.0
I will donate to the project if issue is resolvedNo
BrowserFirefox 159
Database type & versionPostgreSQL 18
Server OS (if known)RedHat 9
Webserver software & version (if known)
PHP Version8.2
Git branch / Pull Request URLhttps://github.com/LimeSurvey/LimeSurvey/pull/5484

Users monitoring this issue

There are no users monitoring this issue.

Activities

eusweisker

eusweisker

2026-10-29 11:10

manager   ~86932

Could confirm, thank you for the report!

zufolo441

zufolo441

2026-10-29 18:21

reporter   ~86998

Hi, I've just tested this code and it works. Many thanks!

Issue History

Date Modified Username Field Change
2026-10-29 11:07 zufolo441 New Issue
2026-10-29 11:10 eusweisker Assigned To => eusweisker
2026-10-29 11:10 eusweisker Status new => confirmed
2026-10-29 11:10 eusweisker Note Added: 86932
2026-10-29 11:10 eusweisker Bug heat 0 => 2
2026-10-29 15:23 eusweisker Status confirmed => assigned
2026-10-29 15:54 Haythem Status assigned => ready for code review
2026-10-29 15:54 Haythem Git branch / Pull Request URL => https://github.com/LimeSurvey/LimeSurvey/pull/5484
2026-10-29 18:21 zufolo441 Note Added: 86998
2026-10-29 18:21 zufolo441 Bug heat 2 => 4