View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04348Bug reportsSurvey participants (Tokens)public2010-05-19 13:28
Reportermmaa Assigned ToMazi  
PrioritynormalSeveritypartial_block 
Status closedResolutionsuspended 
Product Version1.90b 
Summary04348: {INSERTANS:} in confirmation email produces error if user can't answer a question
Description

I tied to send a confirmation with the answered questions. So I added
Question A: {INSERTANS:61968X1X1}
Question B: {INSERTANS:61968X2X2}
Question C: {INSERTANS:61968X2X3}

into the template. If the users chooses No in Question A, he doesn't see question B and C. Now the user receives a mail like this
Question A: No
Question B: Error(61968X2X2)
Question C: Error(61968X2X3)

How can I fix this behavior?

Steps To Reproduce

Create and use a token with a mail address, answer the questions and receive the error text.

Additional Information

Error also appears on build 8717

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)8678
I will donate to the project if issue is resolved
Browser
Database type & versionMySQL
Server OS (if known)Sun Solaris
Webserver software & version (if known)Apache
PHP Version5.2.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2010-05-18 17:04

updater   ~11845

There is no easy solution for this. You add a placeholder which is replaced by a certain answer. If there is no answer the placeholder shows an error.

You can either not use conditions and make all questions mandatory or not use placeholders in your confirmation email.

A long term solution would be to check each placeholder if it's empty and if so place a string like "no answer given" instead of the error message.

mmaa

mmaa

2010-05-18 17:24

reporter   ~11848

@Mazi
Another long term solution could be to have multiple confirmation emails, based on conditions.

Mazi

Mazi

2010-05-18 17:36

updater   ~11858

"Another long term solution could be to have multiple confirmation emails, based on conditions."
I don't think this is a suitable solution because it's really complex and conditions currently can only be applied to data within a survey.

Can you add the "check each placeholder if it's empty and if so place a string like "no answer given" instead of the error message." solution to our idea tracker at http://ideas.limesurvey.org?!
Thanks!

mmaa

mmaa

2010-05-18 17:43

reporter   ~11860

On which idea?

Mazi

Mazi

2010-05-18 17:57

updater   ~11864

Just add a new idea describing your problem and add your and my proposals as possible solutions so we can think about how to implement this in a future release.
Thanks!

Mazi

Mazi

2010-05-19 13:28

updater   ~11868

Idea can be found here: http://ideas.limesurvey.org/ideatorrent/idea/152/

Issue History

Date Modified Username Field Change
2010-05-18 11:19 mmaa New Issue
2010-05-18 11:19 mmaa Status new => assigned
2010-05-18 11:19 mmaa Assigned To => user372
2010-05-18 17:02 Mazi Assigned To user372 => Mazi
2010-05-18 17:04 Mazi Note Added: 11845
2010-05-18 17:24 mmaa Note Added: 11848
2010-05-18 17:36 Mazi Note Added: 11858
2010-05-18 17:43 mmaa Note Added: 11860
2010-05-18 17:57 Mazi Note Added: 11864
2010-05-19 13:28 Mazi Note Added: 11868
2010-05-19 13:28 Mazi Status assigned => closed
2010-05-19 13:28 Mazi Resolution open => suspended
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)