View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|15352||Bug reports||[All Projects] Survey participants (Tokens)||public||2019-10-02 09:39||2019-11-26 17:32|
|Target Version||Fixed in Version|
|Summary||15352: On self-registration X-surveyid & X-tokenid are not set on self-registration email sent-out|
When sending survey invitations, LimeSurvey doesn't appear to include X-survey* headers in the emails.
Comparison between my local instance:
And a free LS.org instance:
since both are on 3.18.0 it might be possible this is a database issue? I'm using Postgresql 10.
|Steps To Reproduce|
Create a new closed active survey, enable self-registration, self-register, check the headers of the email with the survey participation link
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||3.18.0|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||Postgres 10|
|Server OS (if known)||Linux|
|Webserver software & version (if known)||nginx|
No plugins used. All vanilla.
Alright, while playing a little bit more with it, I figured out, that this appears to only happen when participants register.
So, when sending invitations and reminders through the admin panel, the token and survey-id get properly included in the headers.
So this issue appears to only happen at registration. At least we can rule out my smtp server mangling headers.
Anything that can be done about this?
I think it's already fixed in 4.0 …
But the issue is «Survey register didn't set header for bounce tracking»
I fixed it locally for now, by adding:
$customheaders = array('1' => "X-surveyid: ".$iSurveyId, '2' => "X-tokenid: ".$sToken);
and modyfing SendEmailMessage to include $customheaders as additional parameter.
I'll add a PR.
Link to PR?
This issue is fixed as of https://github.com/LimeSurvey/LimeSurvey/commit/0cf514100f9b79b13023c67cb3827753e230be26
|2019-10-02 09:39||luberm||New Issue|
|2019-10-09 10:42||DenisChenu||Note Added: 53958|
|2019-10-09 10:48||luberm||Note Added: 53959|
|2019-10-09 11:14||luberm||Note Added: 53960|
|2019-10-09 11:17||DenisChenu||Note Added: 53961|
|2019-10-09 11:35||luberm||Note Added: 53962|
|2019-11-04 08:38||c_schmitz||Summary||LimeSurvey doesn't set X-surveyid, X-tokenid, X-did headers for bounce tracking on my LS local instance => On self-registration X-surveyid & X-tokenid are not set on self-registration email sent-out|
|2019-11-04 08:38||c_schmitz||Steps to Reproduce Updated||View Revisions|
|2019-11-04 08:39||c_schmitz||Note Added: 54379|
|2019-11-04 11:02||luberm||Note Added: 54389|
|2019-11-26 12:35||luberm||Note Added: 54783|
|2019-11-26 17:32||cdorin||Assigned To||=> cdorin|
|2019-11-26 17:32||cdorin||Status||new => closed|
|2019-11-26 17:32||cdorin||Resolution||open => fixed|