Welcome to the LimeSurvey Community Forum

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

Links in email templates stop working when users change anything in the survey

  • joannahawrysz
  • joannahawrysz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 3 weeks ago #267570 by joannahawrysz
Please help us help you and fill where relevant:
LimeSurvey version: 6.6.6+241002
Own server or LimeSurvey Cloud: own hosting
Survey theme/template: not applicable (I think)
==================
Hi,
I've encountered the most most peculiar issue with links in survey notifications and I'm hoping you have some ideas on how to fix it.

I have a bunch of surveys where there is an admin notification set up to send an email when somebody fills out the survey. The email has a link to another survey, this one mirrors the first survey in structure but some of the questions are pre-filled with answers based on that first survey. Now the link in the email text is 100% correct as it works for me.

I as a superadmin can make any changes to the survey and the link keeps on working. However if users with less permissions change anything in the survey (including saving the email template!) the link in the message stops working. I have watched them perform the exact same steps as I do - doing the same thing from my account works, but it doesn't work for them.

Now these users have a role set up which permits them to access everything in the "survey" row (except for viewing), other than that they don't have permissions to other things.

Any ideas on what could be causing this? Do I need to change their permissions or is it a bug?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 3 weeks ago #267575 by holch
How are these answers prefilled?

Is the XSS filter on? Because if the XSS filter is on, Limesurvey filters scripts for "normal" users, but not for super admins.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • joannahawrysz
  • joannahawrysz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 3 weeks ago #267589 by joannahawrysz
Yes the XSS filter was on, I have now turned it off and it fixed the issue. Thank you very much!

BTW I was using this to prefill the answers: forums.limesurvey.org/forum/can-i-do-thi...-into-another-survey

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose