View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09863Bug reportsTheme editorpublic2015-09-30 11:01
Reportereschool Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09863: plain text email setting doesn't properly affect admin notification email
Description

regardless of setting "Use HTML format for token emails?" to "No", the detailed admin notification will be sent with the line "Content-Type: text/html" instead of "Content-Type: text/plain".

The content of {ANSWERTABLE} is styled well in plain text with the setting, but with "Content-Type: text/html" the email will be displayed with no line breaks.

Additionally with "Use HTML format for token emails?" set to "No" the editor should appear as plaintext editor when editing email templates. The inline html editor breaks plaintext templates by deleting line breaks and whitespaces.

Steps To Reproduce

go to "General settings" of a survey and set "Use HTML format for token emails?" in "Tokens" tab to "No".
Fill your email address to "Send detailed admin notification email to:" in "Notification..." tab.
Complete a survey and check the admin notification email.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)150831
I will donate to the project if issue is resolvedNo
Browserany
Database type & versionmysql 5.5
Server OS (if known)linux
Webserver software & version (if known)apache 2
PHP Version5.4.16

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-09-08 17:23

developer   ~33072

I take the Content-Type, other is not really a bug (or maybe , unsure). But please : one bug at a time :)

DenisChenu

DenisChenu

2015-09-08 17:58

developer   ~33075

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

DenisChenu

DenisChenu

2015-09-08 18:01

developer   ~33076

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

DenisChenu

DenisChenu

2015-09-08 18:01

developer   ~33077

I think there are already a Feature request and/or a bug report for "HTML editor" for email.

c_schmitz

c_schmitz

2015-09-30 11:01

administrator   ~33227

Version 2.06+ Build 150930 released

Related Changesets

LimeSurvey: master 61f0404a

2015-09-08 15:56:49

DenisChenu

Details Diff
Fixed issue 09863: plain text email setting doesn't properly affect admin notification email
Dev: we have the var : use it to send email notification
Dev: TODO : move whole system to plugin ?
Affected Issues
09863
mod - application/helpers/frontend_helper.php Diff File

LimeSurvey: develop df555647

2015-09-08 16:00:57

DenisChenu

Details Diff
Fixed issue 09863: plain text email setting doesn't properly affect admin notification email
Dev: todo : move it to plugin ?
Dev: we can activate plugin by default in LS3
Dev: DB need big update (move whole text to plugin Survey settings)
Affected Issues
09863
mod - application/helpers/FrontEnd.php Diff File

Issue History

Date Modified Username Field Change
2015-09-02 17:48 eschool New Issue
2015-09-08 17:22 DenisChenu Assigned To => DenisChenu
2015-09-08 17:22 DenisChenu Status new => assigned
2015-09-08 17:23 DenisChenu Note Added: 33072
2015-09-08 17:58 DenisChenu Changeset attached => LimeSurvey master 61f0404a
2015-09-08 17:58 DenisChenu Note Added: 33075
2015-09-08 17:58 DenisChenu Resolution open => fixed
2015-09-08 18:01 DenisChenu Changeset attached => LimeSurvey develop df555647
2015-09-08 18:01 DenisChenu Note Added: 33076
2015-09-08 18:01 DenisChenu Note Added: 33077
2015-09-08 18:01 DenisChenu Status assigned => resolved
2015-09-08 18:01 DenisChenu Fixed in Version => 2.06+
2015-09-30 11:01 c_schmitz Note Added: 33227
2015-09-30 11:01 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor