Welcome to the LimeSurvey Community Forum

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

URL parameters not passed through after update

  • C30000
  • C30000's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #200428 by C30000
Hi!

I updated a old version of Limesurvey (something 2.x) to Limesurvey 3 LTS.
After the update my ULR parameters are not passed through anymore.

The welcome/token page is called with the paramter:
www.sample.com/limesurvey/index.php/2020...y_parameter=my_value

After entering the token the survey starts, although without parameter and therefore without prefilled values:
www.sample.com/limesurvey/index.php/2020

Rolling back to version 2 it works again, no other settings changed (to my knowledge).

Anybody experienced something similar?
Thanks!
The topic has been locked.
More
3 years 9 months ago #200436 by jelo

C30000 wrote: Anybody experienced something similar?

That is not uncommon. Often a bug introduced in certain versions of LS. LS 3 LTS is fixed quite often.
The question is what version of LS3 did you used? Sometimes the issue is an old survey which isn't using URL parameter definitions to map values. You perhaps can create a sample survey (LSS-Export) with one parameter.

I would first check, if the parameter is captured when you deactivate the Welcomepage and without token access.
If that is working, you have no issue inside the survey file.
You can report the bug via Bugtracker.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • C30000
  • C30000's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #200449 by C30000
I can reproduce this in 3.21.6 as well as 4.2.5.

I created a sample survey with one question and passed the parameter like the manual advises, no welcome/token screen, then it works.

It is a bit odd that such a bug would go unnoticed in both versions.
Will report a bug.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #200458 by holch
As Jelo says, this bug might have been solved in 3.x already, but might have been reintroduced later by someone. It has happend before, and I guess it will happen again.

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
The topic has been locked.
More
3 years 9 months ago #200460 by jelo

C30000 wrote: It is a bit odd that such a bug would go unnoticed in both versions.

That is very common. In the last ten years I haven seen such issues be unnoticed for weeks or months. If you have a working version of LimeSurvey, you won't update that easily. Updates under the label "stable" can contain fixes from the same day which are not released as unstable before. Many user don't know what a URL get parameter is. So testing is limited to power users which don't take "stable" as "production ready".

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #200475 by DenisChenu
Replied by DenisChenu on topic URL parameters not passed through after update
Can you update to www.limesurvey.org/lts-releases-download 3.22.18 and report the issue if still happen.

With a sample lss with only one or 2 questions.

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.
  • C30000
  • C30000's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #200516 by C30000
I tested it with 3.22.18

New survey with 2 questions, called with 2 parameters, both passed correctly.
Set the survey to closed-access mode, url parameters not passed.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #200529 by Joffm
Hi,
I tested in 3.22. and found:
The parameter name must not contain an underscore.

"myparam" works, "my_param" does not.









Of course, panel integration values set accordingly.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
3 years 9 months ago #200530 by jelo

Joffm wrote: I tested in 3.22. and found:The parameter name must not contain an underscore.

Underscore is a valid character. That can be classified as a bug.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • C30000
  • C30000's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #200531 by C30000
While my initial example URL parameters had underscores, at my later test I used standard question names (as "Q00" etc.), did not change anything for me.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #200532 by Joffm
You said before, you have a small sample survey.

Please provide the lss export.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • C30000
  • C30000's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #200533 by C30000
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose