View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19744Bug reportsDocumentationpublic2024-09-23 17:29
Reporterlozam Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version6.5.x 
Summary19744: showEmailInError missing documentation
Description

When an error occurs in Limesurvey, a specialized routine prepares error messages that are then displayed on a page designed for this purpose.

File: /LimeSurvey/application/controllers/SurveysController.php

Function: spitOutHtmlError(array $error, $surveyId) which then uses the template: /Limesurvey/themes/survey/fruity_twentythree/views/layout_errors.twig

An option allows the code to display or hide the email on the error page.
This is controlled by the global parameter: showEmailInError

if (App()->getConfig('showEmailInError')) {

However, this parameter is neither documented nor initialized in Limesurvey's configuration files, such as:
/Limesurvey/application/config/config-defaults.php

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.5.18
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5
Server OS (if known)
Webserver software & version (if known)
PHP VersionPHP 7.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2024-09-20 15:50

developer   ~81071

https://manual.limesurvey.org/index.php?title=Optional_settings&oldid=376502&diff=378701

DenisChenu

DenisChenu

2024-09-20 16:11

developer   ~81072

No need code review, more text review
https://github.com/LimeSurvey/LimeSurvey/pull/3969

DenisChenu

DenisChenu

2024-09-20 16:55

developer   ~81075

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36560

LimeBot

LimeBot

2024-09-23 17:29

administrator   ~81093

Fixed in Release 6.6.4+240923

Related Changesets

LimeSurvey: master 170a83ff

2024-09-20 16:34:33

DenisChenu


Committer: GitHub Details Diff
Fixed issue 19744: showEmailInError missing documentation (03969) Affected Issues
19744
mod - application/config/config-defaults.php Diff File

Issue History

Date Modified Username Field Change
2024-09-11 10:56 lozam New Issue
2024-09-11 12:00 DenisChenu Assigned To => DenisChenu
2024-09-11 12:00 DenisChenu Status new => assigned
2024-09-20 15:50 DenisChenu Note Added: 81071
2024-09-20 15:50 DenisChenu Bug heat 0 => 2
2024-09-20 16:11 DenisChenu Assigned To DenisChenu => tibor.pacalat
2024-09-20 16:11 DenisChenu Status assigned => ready for code review
2024-09-20 16:11 DenisChenu Note Added: 81072
2024-09-20 16:34 tibor.pacalat Status ready for code review => resolved
2024-09-20 16:34 tibor.pacalat Resolution open => fixed
2024-09-20 16:55 DenisChenu Changeset attached => LimeSurvey master 170a83ff
2024-09-20 16:55 DenisChenu Note Added: 81075
2024-09-20 16:55 DenisChenu Assigned To tibor.pacalat => DenisChenu
2024-09-23 17:29 LimeBot Note Added: 81093
2024-09-23 17:29 LimeBot Status resolved => closed
2024-09-23 17:29 LimeBot Bug heat 2 => 4