View Issue Details

IDProjectCategoryView StatusLast Update
12187Bug reports[All Projects] Survey participants (Tokens)public2017-03-24 14:25
Reporterbrammeleman 
Assigned To 
PrioritynoneSeveritymajor 
Status newResolutionopen 
Product Version2.64.x 
Target VersionFixed in Version 
Summary12187: invitation mails are not being sent using json-rpc
Descriptionphpmailer refuses to send mail because the 'Message body (is) empty'.
Steps To Reproduce- create survey + tokens/participants
- use the json-rpc api to send invitations
- api returns an array with

 [name] => ~redacted~
 [email] => ~redacted~
 [status] => fail
 [error] => Message body empty
Additional Informationcaused by mixing up some variables in application/helpers/admin/token_helper.php from line 137 to 144
also the Replacefields function should be written in camelcase, which makes it easier to find the function definition

Bests,

Bram
TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 2.64.0+170307
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionMySQL 5.5.54-0ubuntu0.14.04.1-log - (Ubuntu)
Operating System (Server)Ubuntu 14.04.5 LTS
Webserver software & versionApache/2.4.7 (Ubuntu)
PHP VersionPHP 5.5.9-1ubuntu4.21

Relationships

Activities

brammeleman

2017-03-09 13:10

reporter   ~43243

PR: https://github.com/LimeSurvey/LimeSurvey/pull/658

brammeleman

2017-03-10 12:22

reporter   ~43248

Bug introduced in https://github.com/LimeSurvey/LimeSurvey/commit/6041289a62cd621f1aba7733f591a2eadad201b9

brammeleman

2017-03-24 14:25

reporter   ~43332

Could somebody please have a look at the PR? It's a small change that will fix the issue.

Bests,

Bram Daams
Radboud University

Issue History

Date Modified Username Field Change
2017-03-09 11:53 brammeleman New Issue
2017-03-09 13:10 brammeleman Note Added: 43243
2017-03-10 12:22 brammeleman Note Added: 43248
2017-03-24 14:25 brammeleman Note Added: 43332