Ranking question causing system hang...

More
1 week 1 day ago #179015 by edit4ever
edit4ever created the topic: Ranking question causing system hang...
I have a ranking question with an array filter from a previous multiple choice question. The answer codes match the subquestion codes and the results will load during the survey...but the system then hangs. You can't rank or move on from there.

Please Log in or Create an account to join the conversation.

More
1 week 18 hours ago #179018 by DenisChenu
DenisChenu replied the topic: Ranking question causing system hang...
LimeSurveyt version and build number ?
Browser used ?
Number of ranking answers ?

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 or Create an account to join the conversation.

More
1 week 15 hours ago #179029 by tpartner
tpartner replied the topic: Ranking question causing system hang...
...and please attach a small sample survey (.lss) containing only the relevant questions.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
1 week 7 hours ago #179053 by edit4ever
edit4ever replied the topic: Ranking question causing system hang...
Lime Survey version: 3.15.6
Browser: both Chrome and Edge tested
# of answers to rank: up to 5 out of previous list of 60 options

Sample survey attached.

Thanks!
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 7 hours ago #179058 by DenisChenu
DenisChenu replied the topic: Ranking question causing system hang...
Ok,

Have the issue , you can make some optimisation set Maximum columns for answers to 5, but still some time.

Must check if it's better in 2.73 (then it's clearly a new issue) or if it's an old issue.

I don't really have better solution quickly.

@tpartner : do you have some idea to improve speed ?

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 or Create an account to join the conversation.

More
1 week 7 hours ago #179059 by edit4ever
edit4ever replied the topic: Ranking question causing system hang...
Thanks for the update - I have a lot of other sections to build...so I'll stand by to see if a solution evolves.

Please Log in or Create an account to join the conversation.

More
1 week 7 hours ago - 1 week 7 hours ago #179060 by DenisChenu
DenisChenu replied the topic: Ranking question causing system hang...
OK,

Have the solution :
1. Disable Same choice height + same list height
2. Replace this file github.com/LimeSurvey/LimeSurvey/blob/ma...g/scripts/ranking.js in your install (the previous one have an issue : github.com/LimeSurvey/LimeSurvey/commit/...9cdb2f9775074bcc80dc )
3. Test : it's really quickest

PS : 2nd fix : github.com/LimeSurvey/LimeSurvey/commit/...362520f2766898ebf51a

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 .
Last Edit: 1 week 7 hours ago by DenisChenu.

Please Log in or Create an account to join the conversation.

More
1 week 7 hours ago - 1 week 7 hours ago #179061 by edit4ever
edit4ever replied the topic: Ranking question causing system hang...
OK - I replaced that file and disabled the choice and list heights...but I'm still getting the same issue. When the rankings load (first you see the whole list and then the filtered array loads a second or two later) but I can't select and rank those choice. There is no response in that area.

--- hold on - just saw you posted a second fix...

added second fix - still same issue.
Last Edit: 1 week 7 hours ago by edit4ever.

Please Log in or Create an account to join the conversation.

More
1 week 36 minutes ago #179071 by DenisChenu
DenisChenu replied the topic: Ranking question causing system hang...
Remind to "reset assets" cache in Global settings, else it's still the old javascript

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 or Create an account to join the conversation.

More
6 days 7 hours ago #179126 by edit4ever
edit4ever replied the topic: Ranking question causing system hang...
No luck. Made the changes and cleared the cache. Same issue.

Please Log in or Create an account to join the conversation.

More
5 days 16 hours ago #179140 by DenisChenu
DenisChenu replied the topic: Ranking question causing system hang...
Can you give a sample link ?
Their still some time to load, but really less

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 or Create an account to join the conversation.

More
3 days 9 hours ago #179203 by edit4ever
edit4ever replied the topic: Ranking question causing system hang...
Thanbk you for looking into this. Here is the sample:

survey.makemomentum.net/index.php/261618?lang=en

Please Log in or Create an account to join the conversation.

More
3 days 7 hours ago #179210 by DenisChenu
DenisChenu replied the topic: Ranking question causing system hang...
There are another issue here …



And i don't found ranking.css and ranking.js in source … can you deactivate ajax mode ?

Else : there are aghon some improvment (with your test file) on javascript :
github.com/LimeSurvey/LimeSurvey/commit/...e032e53bb2ef5de9f246
and
github.com/LimeSurvey/LimeSurvey/commit/...146d9fcbd63937f028e4

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 .
Attachments:

Please Log in or Create an account to join the conversation.

More
3 days 7 hours ago #179212 by edit4ever
edit4ever replied the topic: Ranking question causing system hang...
I've added the two commits and disabled ajax.

When it gets to the ranking question - it loads the filtered answers but does not allow the ranking options to be selected and sorted. You can move on to the next question group, but cannot interact with the ranking question.
Attachments:

Please Log in or Create an account to join the conversation.

More
3 days 7 hours ago #179214 by DenisChenu
DenisChenu replied the topic: Ranking question causing system hang...

edit4ever wrote: selected and sorted. You can move on to the next question group, but cannot interact with the ranking question.

ranking.js seems not loaded

This is really strange

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 .
Attachments:

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!