View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19334Bug reportsQuestion editorpublic2024-01-12 09:42
Reporterwangzhen2 Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.3.x 
Summary19334: When there are many answers, page rendering is slow
Description

The lsq file for the example is a multiple-choice question with 2000 options, and the page cannot be loaded. I see that the data has been returned, but the HTML rendering is slow. I need to wait about 10 minutes to complete the rendering.

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)6.3.7
I will donate to the project if issue is resolvedYes
Browser
Database type & versionmysql 5.7
Server OS (if known)
Webserver software & version (if known)Apache2.4
PHP Versionphp 7.3

Relationships

related to 17686 acknowledged Editing sub question more complex than 3.X 

Users monitoring this issue

There are no users monitoring this issue.

Activities

wangzhen2

wangzhen2

2024-01-03 08:24

reporter   ~79086

I have discovered the issue, which is caused by the sortable in questionEditor.js. I have temporarily dealt with it and did not use sortable when the answer item is greater than 500.

PixPin_2024-01-03_15-23-02.png (63,449 bytes)   
PixPin_2024-01-03_15-23-02.png (63,449 bytes)   
DenisChenu

DenisChenu

2024-01-08 10:59

developer   ~79097

I like to check this on 5.X

Can you upload a lss file and not a lsq ?

wangzhen2

wangzhen2

2024-01-11 03:11

reporter   ~79140

Please check LSS

limesurvey_survey_742128.lss (1,036,323 bytes)
DenisChenu

DenisChenu

2024-01-11 08:37

developer   ~79141

Last edited: 2024-01-11 08:40

Thank you !
Same with LimeSurvey5

Awfull … near 30 seconds to get the page.

DenisChenu

DenisChenu

2024-01-11 08:50

developer   ~79142

A 3.X version.

On 3.X : edit question is OK
Edit answers take time (maybe a little less than 5.X) but seems more clear.

Test3X.gif (969,917 bytes)
Test5X.gif (851,313 bytes)
wangzhen2

wangzhen2

2024-01-12 09:35

reporter   ~79154

When my options were 2000, it would take at least 5 minutes for the page to render, so I just temporarily processed it and no longer used sortable if it was greater than 500. I'm not sure if there is a better solution

DenisChenu

DenisChenu

2024-01-12 09:41

developer   ~79155

My opinion here :

  1. When you try to edit X000 answer : seems a good solution to deactivate sortable. Maybe allow to activate it via a button ?
  2. Have 1 minutes for edition 2000 answers : can be understandable, but not when edition only the question : answer + subquestion must be loaded only if needed and saved only if neeeded (there are other reason for this)

Issue History

Date Modified Username Field Change
2024-01-02 13:30 wangzhen2 New Issue
2024-01-02 13:30 wangzhen2 File Added: limesurvey_question_11703.lsq
2024-01-03 08:24 wangzhen2 Note Added: 79086
2024-01-03 08:24 wangzhen2 File Added: PixPin_2024-01-03_15-23-02.png
2024-01-03 08:24 wangzhen2 Bug heat 0 => 2
2024-01-08 10:59 DenisChenu Note Added: 79097
2024-01-08 10:59 DenisChenu Bug heat 2 => 4
2024-01-11 03:11 wangzhen2 Note Added: 79140
2024-01-11 03:11 wangzhen2 File Added: limesurvey_survey_742128.lss
2024-01-11 08:37 DenisChenu Note Added: 79141
2024-01-11 08:40 DenisChenu Note Edited: 79141
2024-01-11 08:50 DenisChenu Note Added: 79142
2024-01-11 08:50 DenisChenu File Added: limesurvey_survey_2000answer_3X.lss
2024-01-11 08:50 DenisChenu File Added: Test3X.gif
2024-01-11 08:50 DenisChenu File Added: Test5X.gif
2024-01-12 09:35 wangzhen2 Note Added: 79154
2024-01-12 09:41 DenisChenu Note Added: 79155
2024-01-12 09:42 DenisChenu Relationship added related to 17686