View Issue Details

IDProjectCategoryView StatusLast Update
15969Feature requestsSurvey takingpublic2020-03-10 18:31
Reporterholch Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary15969: Custom Error messages for Limesurvey
Description

Limesurvey should give clearer error messages and not the standard errors like 401.

https://www.limesurvey.org/forum/german-forum/120499-teilnehmerberechtigungen-fehler401-beim-start-der-umfrage-aus-der-einladungsmail

If the survey is not active, respondents should receive a message like "This survey is currently not active" instead of a 401 - not authorized. It would make solving the problem a lot quicker for not so experienced LS users.

TagsNo tags attached.

Activities

DenisChenu

DenisChenu

2020-03-10 16:45

developer   ~56395

Last edited: 2020-03-10 16:45

View 2 revisions

It's a 401 issue because it's a 401 not a 404 or any other things

Done here : https://github.com/LimeSurvey/LimeSurvey/blob/016b4220056ef12c52d54e64c8ca11a5b359b45f/application/controllers/survey/index.php#L91-L94

My opinion : muts be always a 404 if survey are noot accessible. No difference betwwen exiting of not existing survey.

It's a Point Of View issue, not a real issue.

holch

holch

2020-03-10 18:05

reporter   ~56397

What I mean is: you can say it is a 401 or anything, but Limesurvey probably knows what the reason for the 401 is, so it could give additional information (e.g. "This survey is currently not active"). Would be a lot more user friendly. Not everyone is a developer, especially not the respondents.

DenisChenu

DenisChenu

2020-03-10 18:17

developer   ~56398

My opinion : must be always a 404 if survey are not accessible. No difference between exiting of not existing survey.

holch

holch

2020-03-10 18:31

reporter   ~56401

Let's ask some users what they would prefer... ;-)

Issue History

Date Modified Username Field Change
2020-03-10 13:54 holch New Issue
2020-03-10 16:45 DenisChenu Note Added: 56395
2020-03-10 16:45 DenisChenu Note Edited: 56395 View Revisions
2020-03-10 18:05 holch Note Added: 56397
2020-03-10 18:17 DenisChenu Note Added: 56398
2020-03-10 18:31 holch Note Added: 56401