Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Participant sent wrong token

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 8 months ago #157459 by DenisChenu
Replied by DenisChenu on topic Participant sent wrong token

DenisChenu wrote: PS : else : why you don't use @@SURVEYURL@@ ?
manual.limesurvey.org/Survey_participants#Email_placeholders

I recommend to use

Code:
<a href="@@SURVEYURL@@">Click here to begin survey</a>

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
6 years 6 months ago - 6 years 6 months ago #158955 by zfocuz
Replied by zfocuz on topic Participant sent wrong token
I have done some testing and have come to the following conclusion:

{SURVEYURL} = The correct survey URL including token
@@SURVEYURL@@ = Same as above, but always points to the start (this can also be used in html code like <a href="@@SURVEYURL@@">)
{TOKEN} = Points to the recipient's token OR the token you have last used to access this survey
{TOKEN:TOKEN} = Same as above

I believe the {TOKEN} field can indeed contain the wrong token, but only if you have used a token to test the survey.

For example: You have created a test participant with token 1234. You test the survey with this token while being logged in. You send the invitation e-mails to all participants using the {TOKEN} or {TOKEN:TOKEN} field to display the participants token. Now all participants will get an e-mail with the {TOKEN} field being replace with 1234 instead of the expected behavior.

Can someone please confirm this?



I'm running LimeSurvey 2.67.3+170728 on PHP 7.0.
Last edit: 6 years 6 months ago by zfocuz.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 6 months ago #158956 by DenisChenu
Replied by DenisChenu on topic Participant sent wrong token
When sending email by admin GUI ? I'm 100% sure to have this bug before but already fixed.
Maybe come back again, maybe the best is to make the bug report : www.limesurvey.org/community/bug-tracker

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
6 years 6 months ago - 6 years 6 months ago #158958 by zfocuz
Replied by zfocuz on topic Participant sent wrong token
Yes I'm using the adming GUI. I made a bug report ( bugs.limesurvey.org/view.php?id=12704 linking this for future visitors).

Hopefully someone is able to test and replicate this bug and confirm my findings.
Last edit: 6 years 6 months ago by zfocuz.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 6 months ago #158991 by DenisChenu
Replied by DenisChenu on topic Participant sent wrong token
Fix done BUT touching Expression Manager is always take a risk. Then like to have other dev review.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: zfocuz
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose