View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18144Bug reportsSurvey editingpublic2022-06-22 15:00
Reporterritapas Assigned To 
PrioritynoneSeverityminor 
Status confirmedResolutionopen 
Product Version3.28.x 
Summary18144: drag and drop of element in structure menufor active surveys makes the screen freeze. Cannot move questions anyway
Description

In the structure menu you can move items by drag and drop.
When the survey is active this cannot happen. If you do that the screen freezes.

Steps To Reproduce

Steps to reproduce

Create a survey with at leas 2 groups of 2 questions each. Activate. Go to structure view. Try to move one element, question or group.

Expected result

Element won't move, possibly with a popup warning message

Actual result

Screen freezes.

Errors In console:

adminsidepanel questiongroups updating error! ConsoleShim.js:133
error ConsoleShim.js:133
changedQuestionGroupOrder sidebar.vue:130
(Asinc.: promise callback)
changedQuestionGroupOrder sidebar.vue:119
VueJS 4
endDraggingQuestion _questionsgroups.vue:211
dragend _questionsgroups.vue:250
VueJS 25
updatePjaxLinks adminsidepanelmain.js:20
mounted _submenu.vue:72
VueJS 14
createSideMenu adminsidepanelmain.js:68
createPanelAppliance adminsidepanelmain.js:155
<anonima> adminsidepanelmain.js:186
jQuery 13

Uncaught (in promise)
Object { success: false, error: SyntaxError, transferStatus: "parsererror", xhr: {…} }

error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

success: false

transferStatus: "parsererror"

xhr: Object { readyState: 4, getResponseHeader: getResponseHeader(key), getAllResponseHeaders: getAllResponseHeaders(), … }

<prototype>: Object { … }

Error: Promised response from onMessage listener went out of scope background.js:40:27

This does not happen in 3.28.12. Which files(s) are changed?

TagsNo tags attached.
Attached Files
DragNDropFreeze.png (48,396 bytes)   
DragNDropFreeze.png (48,396 bytes)   
DragNDropFreeze_Console.png (46,755 bytes)   
DragNDropFreeze_Console.png (46,755 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)3.28.8 (build 220426)
I will donate to the project if issue is resolvedNo
BrowserMozilla Firefox
Database type & versionphp-mysql-5.4.16
Server OS (if known)Red Hat Enterprise Linux Server release 7.5 (Maipo)
Webserver software & version (if known)httpd-2.4.6-80
PHP Versionrh-php71

Relationships

related to 18190 closedgabrieljenik Reordering questions not possible 

Users monitoring this issue

ritapas

Activities

ritapas

ritapas

2022-06-09 13:49

reporter   ~70315

still in 3.28.13

gabrieljenik

gabrieljenik

2022-06-09 18:19

manager   ~70323

Will try to reproduce it

gabrieljenik

gabrieljenik

2022-06-14 22:59

manager   ~70362

Reproduced either with active surveys and inactive ones.

Issue History

Date Modified Username Field Change
2022-05-24 11:10 ritapas New Issue
2022-05-24 11:10 ritapas File Added: DragNDropFreeze.png
2022-05-24 11:10 ritapas File Added: DragNDropFreeze_Console.png
2022-06-09 13:49 ritapas Note Added: 70315
2022-06-09 13:49 ritapas Bug heat 0 => 2
2022-06-09 18:19 gabrieljenik Assigned To => gabrieljenik
2022-06-09 18:19 gabrieljenik Status new => acknowledged
2022-06-09 18:19 gabrieljenik Note Added: 70323
2022-06-09 18:19 gabrieljenik Bug heat 2 => 4
2022-06-14 22:59 gabrieljenik Assigned To gabrieljenik =>
2022-06-14 22:59 gabrieljenik Status acknowledged => confirmed
2022-06-14 22:59 gabrieljenik Note Added: 70362
2022-06-14 23:09 gabrieljenik Relationship added related to 18190
2022-06-22 15:00 ritapas Issue Monitored: ritapas
2022-06-22 15:00 ritapas Bug heat 4 => 6