- Posts: 5
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
3 years 9 months ago #200428
by C30000
URL parameters not passed through after update was created 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!
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
3 years 9 months ago #200436
by jelo
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
Replied by jelo on topic URL parameters not passed through after update
That is not uncommon. Often a bug introduced in certain versions of LS. LS 3 LTS is fixed quite often.C30000 wrote: Anybody experienced something similar?
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 9 months ago #200449
by C30000
Replied by C30000 on topic URL parameters not passed through after update
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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
3 years 9 months ago #200458
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic URL parameters not passed through after update
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
3 years 9 months ago #200460
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic URL parameters not passed through after update
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".C30000 wrote: It is a bit odd that such a bug would go unnoticed in both versions.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 9 months ago #200475
by DenisChenu
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.
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.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 9 months ago #200516
by C30000
Replied by C30000 on topic URL parameters not passed through after update
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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
3 years 9 months ago #200529
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic URL parameters not passed through after update
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
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
3 years 9 months ago #200530
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic URL parameters not passed through after update
Underscore is a valid character. That can be classified as a bug.Joffm wrote: I tested in 3.22. and found:The parameter name must not contain an underscore.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- C30000
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 9 months ago #200531
by C30000
Replied by C30000 on topic URL parameters not passed through after update
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
3 years 9 months ago #200532
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic URL parameters not passed through after update
You said before, you have a small sample survey.
Please provide the lss export.
Joffm
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
3 years 9 months ago #200533
by C30000
Replied by C30000 on topic URL parameters not passed through after update
Here is the lss export:
filetransfer.io/data-package/D3q7kOaH
filetransfer.io/data-package/D3q7kOaH
The topic has been locked.