getallsets/ajaxsets issue when saving labelset

More
3 years 2 months ago #112904 by tmarket
tmarket created the topic: getallsets/ajaxsets issue when saving labelset
I'm not sure if this should be a bug report, if it is a hosting issue, or maybe even a long term broken update issue for my particular install:

Version 2.05+ Build 140915, but it happened previously.

Steps to recreate:
Inside a survey….
Add a question to a survey group.
Select Question type – list dropdown.
Click Add question
Click Edit answer options for this this question.
Enter new options.
But then try and save new or replace existing label set, nothing happens.

Using dev console, I see that I first get a 400 on
http://<domain.com>/<folder>/index.php?r=admin/labels/ajaxSets

and then another one at
http://<domain.com>/<folder>/index.php?r=admin/questions/ajaxlabelsetdetails&YII_CSRF_TOKEN=xxxx&lid=xx&sid=xxx

(I put the x's in to make it easier to read - happens on all surveys).

I went in to application/views/admin/survey/Question/answerOptions_view.php, and on lines 29 and 30 add an "sa" so the urls became "/admin/labels/sa/getAllSets" and "/admin/labels/sa/ajaxSets" and it works now.

Please Log in to join the conversation.

More
3 years 2 months ago #112912 by DenisChenu
DenisChenu replied the topic: getallsets/ajaxsets issue when saving labelset
Maybe some browser cache issue ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 2 months ago #112939 by tmarket
tmarket replied the topic: getallsets/ajaxsets issue when saving labelset
I thought I had cleared all cache. For what it is worth, I tested it using the LimeSurvey.org online Demo, and the behavior is exactly the same.

Please Log in to join the conversation.

More
3 years 2 months ago #112940 by DenisChenu
DenisChenu replied the topic: getallsets/ajaxsets issue when saving labelset
You're rigth : it's the GET url in config.

I don't test it on my server before

Can you report the bug please ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 2 months ago #112941 by tmarket
tmarket replied the topic: getallsets/ajaxsets issue when saving labelset
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!