Welcome to the LimeSurvey Community Forum

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

Ranking question causing system hang...

  • edit4ever
  • edit4ever's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #179015 by edit4ever
Ranking question causing system hang... was created by edit4ever
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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #179018 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #179029 by tpartner
Replied by tpartner on 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
The topic has been locked.
  • edit4ever
  • edit4ever's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #179053 by edit4ever
Replied by edit4ever on 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!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #179058 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • edit4ever
  • edit4ever's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #179059 by edit4ever
Replied by edit4ever on 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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago - 5 years 2 months ago #179060 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
Last edit: 5 years 2 months ago by DenisChenu.
The topic has been locked.
  • edit4ever
  • edit4ever's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago - 5 years 2 months ago #179061 by edit4ever
Replied by edit4ever on 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: 5 years 2 months ago by edit4ever.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #179071 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • edit4ever
  • edit4ever's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #179126 by edit4ever
Replied by edit4ever on topic Ranking question causing system hang...
No luck. Made the changes and cleared the cache. Same issue.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #179140 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • edit4ever
  • edit4ever's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #179203 by edit4ever
Replied by edit4ever on topic Ranking question causing system hang...
Thanbk you for looking into this. Here is the sample:

survey.makemomentum.net/index.php/261618?lang=en
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose