View Issue Details

This bug affects 3 person(s).
 24
IDProjectCategoryView StatusLast Update
17632Bug reportsOtherpublic2021-10-18 17:04
Reporterdrodero Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status assignedResolutionopen 
Product Version3.25.19 
Summary17632: (v3.27.19) Basic and detailed admin notification email fails
DescriptionWhen you configure either basic or detailed admin notification email, the email you received is corrupted. In case of detailed, you don't recived the inputs of the user, and in case of basic notification, you received the same email. In both, the links to view/edit the answer don't "work"
Steps To ReproduceSteps to reproduce
------------------------------
In any survey, set basic and detailed email notification with an email adress

Expected result
-------------------------
Basic: You received an email with valid links to edit the response
Detailed: You received the input of the user and an email with valid links to edit the response

Actual result
-----------------
Basic: You received an email without any valid link to edit the response
Detailed: You received an email without any valid link to edit the response
TagsNo tags attached.
Bug heat24
Complete LimeSurvey version number (& build)3.27.19+210928
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.7
Server OS (if known)Ubuntu 16
Webserver software & version (if known)
PHP Version7.4.18

Users monitoring this issue

User List aleixdorca

Activities

drodero

drodero

2021-09-28 12:48

reporter  

limesurvey_email_bug.png (29,364 bytes)   
limesurvey_email_bug.png (29,364 bytes)   
galads

galads

2021-09-29 09:40

administrator   ~66638

Hello,

It seems the placeholders were changed. Can you send the placeholder in your admin templates?
drodero

drodero

2021-09-29 10:24

reporter   ~66639

Last edited: 2021-10-04 09:32

Hello,

I haven't touched anything of the template (at least, consciously). Please, can you specify a bit more what I have to send?

Thanks!
galads

galads

2021-09-29 10:50

administrator   ~66640

Last edited: 2021-10-04 09:32

Please take a look at the manual https://manual.limesurvey.org/Email_templates#Basic_.26_Detailed_Admin_Notifications
drodero

drodero

2021-09-29 10:56

reporter   ~66641

Last edited: 2021-10-04 09:32

Thank you very much. Here you have:

--------------------------------
Basic admin template:
--------------------------------
Hello,

A new response was submitted for your survey '{SURVEYNAME}'.

Click the following link to reload the survey:
{RELOADURL}

Click the following link to see the individual response:
{VIEWRESPONSEURL}

Click the following link to edit the individual response:
{EDITRESPONSEURL}

View statistics by clicking here:
{STATISTICSURL}

--------------------------------
Detail admin template:
--------------------------------
Hello,

A new response was submitted for your survey '{SURVEYNAME}'.

Click the following link to reload the survey:
{RELOADURL}

Click the following link to see the individual response:
{VIEWRESPONSEURL}

Click the following link to edit the individual response:
{EDITRESPONSEURL}

View statistics by clicking here:
{STATISTICSURL}


The following answers were given by the participant:
{ANSWERTABLE}
ls.png (145,919 bytes)
galads

galads

2021-09-29 11:12

administrator   ~66642

Last edited: 2021-10-04 09:32

I cannot reproduce this issue you are reporting. It works perfectly for me. The email I get contains links to the response for example: https://xxx.limequery.com/admin/responses/sa/view/surveyid/181249/id/4
drodero

drodero

2021-09-29 11:23

reporter   ~66643

Last edited: 2021-10-04 09:32

The error happened when I updated to the latest build (Comfort Update). I have 403 active surveys. The problem happens with the current surveys and even if I create a new one. Can you give me any idea what to check?

Thanks!
Mazi

Mazi

2021-09-29 11:34

partner   ~66644

Last edited: 2021-10-04 09:32

@galads, we just faced the same issue at a system hosted at your cloud instance!

The solution was to re-set the email templates of all affected surveys which is quite a mess for large systems.
galads

galads

2021-09-29 11:44

administrator   ~66646

Last edited: 2021-10-04 09:32

Thank you @Mazi for confirming this issue. I think it happens after updates on the recent build. Thank you for reporting this issue.
drodero

drodero

2021-09-29 11:54

reporter   ~66647

Last edited: 2021-10-04 09:32

Hi @Mazi, how can I "re-set" the email templates? Thanks!
Mazi

Mazi

2021-09-29 12:06

partner   ~66649

Last edited: 2021-10-04 09:32

see screenshot, @drodero
image.png (131,162 bytes)
drodero

drodero

2021-10-04 14:03

reporter   ~66740

Thank you very much @Mazi
gabrieljenik

gabrieljenik

2021-10-07 15:52

manager   ~66799

Sorry, I can't reproduce the issue.
Email templates get corrupted after upgrading from which version?

Thanks!
Mazi

Mazi

2021-10-07 16:36

partner   ~66802

@gabrieljenik, we saw that at the cloud hosting, customer https://carlton.limequery.com/. They are now running Version 3.27.19. No idea what the previous version was.
galads

galads

2021-10-08 17:11

administrator   ~66815

Last edited: 2021-10-08 17:11

View 3 revisions

This happens on cloud hosting. Updating from 3.27.18 to the latest LTS.
I could reproduce it today.
gabrieljenik

gabrieljenik

2021-10-12 14:37

manager   ~66833

Last edited: 2021-10-12 14:38

View 2 revisions

I couldn't reproduce it on a regular LS installation.
Can I ask for instructions?
aleixdorca

aleixdorca

2021-10-14 18:07

reporter   ~66853

This happened to me as well. I have a regular LS installation. Most of the surveys in my environment are in Catalan, and this, I think, is important.

New and old surveys presented this problem because the catalan translation of the default basic and detailed admin notification emails include the RELOADURL field.

After hours going through the code I've noticed here https://manual.limesurvey.org/Email_templates#Basic_.26_Detailed_Admin_Notifications that the RELOADURL is no longer a valid email field. How this has changed in a LTS release is beyond my understanding.

As others have pointed, a workaround is to go through all the surveys and NOT ONLY reload the default email template (because in Catalan it still has the RELOADURL field) but reload the default template AND delete the offending field.

I believe this only happens in certain languages, while other translations don't have this problem.

Hope this helps.

Issue History

Date Modified Username Field Change
2021-09-28 12:48 drodero New Issue
2021-09-28 12:48 drodero File Added: limesurvey_email_bug.png
2021-09-29 09:40 galads Note Added: 66638
2021-09-29 09:40 galads Bug heat 0 => 2
2021-09-29 09:40 galads Assigned To => galads
2021-09-29 09:40 galads Status new => feedback
2021-09-29 10:24 drodero Note Added: 66639
2021-09-29 10:24 drodero Bug heat 2 => 4
2021-09-29 10:24 drodero Status feedback => assigned
2021-09-29 10:50 galads Note Added: 66640
2021-09-29 10:51 galads Status assigned => feedback
2021-09-29 10:56 drodero Note Added: 66641
2021-09-29 10:56 drodero File Added: ls.png
2021-09-29 10:56 drodero Status feedback => assigned
2021-09-29 11:12 galads Note Added: 66642
2021-09-29 11:23 drodero Note Added: 66643
2021-09-29 11:34 Mazi Note Added: 66644
2021-09-29 11:34 Mazi Bug heat 4 => 6
2021-09-29 11:34 guest Bug heat 6 => 12
2021-09-29 11:44 galads Note Added: 66646
2021-09-29 11:44 galads Status assigned => confirmed
2021-09-29 11:54 drodero Note Added: 66647
2021-09-29 12:06 Mazi Note Added: 66649
2021-09-29 12:06 Mazi File Added: image.png
2021-10-04 10:28 galads Assigned To galads => gabrieljenik
2021-10-04 10:28 galads Status confirmed => assigned
2021-10-04 14:03 drodero Note Added: 66740
2021-10-07 15:52 gabrieljenik Note Added: 66799
2021-10-07 15:52 gabrieljenik Bug heat 12 => 14
2021-10-07 16:36 Mazi Note Added: 66802
2021-10-08 17:11 galads Note Added: 66815
2021-10-08 17:11 galads Note Edited: 66815 View Revisions
2021-10-08 17:11 galads Note Edited: 66815 View Revisions
2021-10-12 14:37 gabrieljenik Note Added: 66833
2021-10-12 14:38 gabrieljenik Note Edited: 66833 View Revisions
2021-10-14 18:07 aleixdorca Note Added: 66853
2021-10-14 18:07 aleixdorca Bug heat 14 => 16
2021-10-16 10:49 guest Bug heat 16 => 22
2021-10-16 10:49 aleixdorca Issue Monitored: aleixdorca
2021-10-16 10:49 aleixdorca Bug heat 22 => 24