View Issue Details

This bug affects 1 person(s).
 16
IDProjectCategoryView StatusLast Update
05985Bug reportsSurvey takingpublic2012-04-16 18:30
Reporterkip Assigned ToTMSWhite  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary05985: Notifications using INSERTANS and/or QCODE don't work with all-in-one presentation of survey
Description

After upgrading to 1.92+ my admin and basic notifications didn't work. I was using INSERTANS to send confirmation emails to participants.

Only explicit email adresses (aaa@bbb.ccc) in notification section work. INSERTANS and QCODE variable don't work (both admin and basic)

I am using all-in-one presentation of the survey. When I switch to group-to-group presentation of the survey, the notifications work.

Steps To Reproduce

Set the the presentation of the survey to group-by-group. Enter an (a) email, (b) an INSERTANS reference (referring to a textfield where participants enter their email address) and (c) the QCODE of this textfield (like {mail}).
-> 3 mails will be sent out (mail, INSERTANS and QCODE).

Set the presentation of the survey to all-in-one.
-> only one email will be sent out (direct mail (a))

TagsNo tags attached.
Attached Files
Bug heat16
Complete LimeSurvey version number (& build)120330
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionmysql?
Server OS (if known)linux?
Webserver software & version (if known)apache?
PHP Version?

Users monitoring this issue

There are no users monitoring this issue.

Activities

kip

kip

2012-04-05 13:25

reporter   ~18206

Here additional system infos:
OS: CentOS 2.6.18-194.el5
DB: mysql 5.0.77
Webserver: Apache 2.2.3
PHP: 5.1.6

TMSWhite

TMSWhite

2012-04-05 15:29

reporter   ~18207

please attach a sample survey demonstrating this problem

kip

kip

2012-04-05 22:55

reporter   ~18241

I added a sample survey. Contains a short description in the welcome text... don't forget to change the INSERTANS IDs.
Note: I am using PHP as email method.

kip

kip

2012-04-05 23:09

reporter   ~18242

Oh... I tested it on a different server with build 120405.
CentOS release 5.8 (Final)
PHP Version 5.2.17
Apache 2.2.22
mysql 5.1.56

Same problem.

TMSWhite

TMSWhite

2012-04-05 23:55

reporter   ~18243

I can confirm the problem using SMTP email method.

TMSWhite

TMSWhite

2012-04-06 00:19

reporter   ~18244

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

c_schmitz

c_schmitz

2012-04-12 00:42

administrator   ~18326

New 1.91+ version released.

TMSWhite

TMSWhite

2012-04-16 18:30

reporter   ~18380

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

Related Changesets

LimeSurvey: master 795fb6c0

2012-04-05 15:18:24

TMSWhite

Details Diff
Fixed issue 05985: Notifications using INSERTANS and/or QCODE don't work with all-in-one presentation of survey
Dev ReplaceFields() function was returning <span> elements instead of static substitution. This may also have affected submission of tokens, confirmation email to user, and registration
Affected Issues
05985
mod - common_functions.php Diff File

LimeSurvey: Yii 364472e6

2012-04-16 08:36:17

TMSWhite

Details Diff
Fixed issue 05985: Notifications using INSERTANS and/or QCODE don't work with all-in-one presentation of survey
Dev ReplaceFields() function was returning <span> elements instead of static substitution. This may also have affected submission of tokens, confirmation email to user, and registration
Affected Issues
05985
mod - application/helpers/replacements_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-04-05 12:46 kip New Issue
2012-04-05 13:25 kip Note Added: 18206
2012-04-05 15:29 TMSWhite Note Added: 18207
2012-04-05 21:15 c_schmitz Status new => feedback
2012-04-05 22:53 kip File Added: limesurvey_survey_38294.lss
2012-04-05 22:55 kip Note Added: 18241
2012-04-05 22:55 kip Status feedback => new
2012-04-05 23:09 kip Note Added: 18242
2012-04-05 23:55 TMSWhite Note Added: 18243
2012-04-05 23:55 TMSWhite Assigned To => TMSWhite
2012-04-05 23:55 TMSWhite Status new => assigned
2012-04-06 00:19 TMSWhite Changeset attached => LimeSurvey master 795fb6c0
2012-04-06 00:19 TMSWhite Note Added: 18244
2012-04-06 00:19 TMSWhite Resolution open => fixed
2012-04-06 00:20 TMSWhite Status assigned => resolved
2012-04-06 00:20 TMSWhite Fixed in Version => 1.92+
2012-04-12 00:42 c_schmitz Note Added: 18326
2012-04-12 00:42 c_schmitz Status resolved => closed
2012-04-16 18:30 TMSWhite Changeset attached => LimeSurvey Yii 364472e6
2012-04-16 18:30 TMSWhite Note Added: 18380