View Issue Details

This bug affects 3 person(s).
 14
IDProjectCategoryView StatusLast Update
19494Bug reportsQuestion editorpublic2024-04-10 15:23
Reportertwilllig Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status feedbackResolutionopen 
Product Version6.4.x 
Summary19494: Moving questions to another group in structure tab screws up order
Description

When moving one question from group to group sometimes the order of other questions in the destination group + plus in groups you drag over
is screwed up.
I did try to find a pattern how and when this happens but wasn't very successful.

Sometimes the bug happens on first try, sometimes I had to move the question back and forth several times until the bug was reproduced.

Just some of my tests:
Moving question from group to group to group => affected group
from 1 to 2 to 1 => 1
from 1 to 3 to 1 => 1 + 2
from 2 to 3 to 1 => 1
from 2 to 3 to 2 => 2
from 3 to - to 1 => 1 + 2

Steps To Reproduce

Steps to reproduce

  1. Import the attached lss
  2. Go to survey
  3. Expand all groups in Structure-Tab
  4. Drag Question 1.3 to "Group 2" (inbetween 2.2 and 2.4)
  5. Drag Question 1.3 back to it's original position (between 1.2 and 1.4)
  6. Watch other questions of "Group 1", if they keep the position, repeat steps 4. and 5.

Expected result

All questions stay where they are, except the one drag&dropped

Actual result

Order of other questions in "Group 1" is changed

TagsNo tags attached.
Attached Files
StructureOrderingBug.lss (82,652 bytes)   
Bug heat14
Complete LimeSurvey version number (& build)6.4.12
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionmysql
Server OS (if known)
Webserver software & version (if known)
PHP Version8

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2024-04-10 15:23

manager   ~79901

The only way I was able to reproduce it is by dragging (without releasing) up and down quickly, many times: (see attachment).
Notice in the gif that at one point the order of those in the second group ends up being wrong.

If I'm not mistaken, all the draggable logic is in Vue. If it's the only way to reproduce it, I don't know how much effort it makes sense to put into it. Worth it?

image.png (37,125 bytes)   

Issue History

Date Modified Username Field Change
2024-03-21 16:24 twilllig New Issue
2024-03-21 16:24 twilllig File Added: StructureOrderingBug.lss
2024-03-21 16:27 twilllig Description Updated
2024-03-21 16:30 tibor.pacalat Assigned To => gabrieljenik
2024-03-21 16:30 tibor.pacalat Status new => assigned
2024-03-21 16:32 twilllig Steps to Reproduce Updated
2024-04-10 15:23 gabrieljenik Note Added: 79901
2024-04-10 15:23 gabrieljenik File Added: image.png
2024-04-10 15:23 gabrieljenik Bug heat 0 => 2
2024-04-10 15:23 gabrieljenik Status assigned => feedback
2024-04-11 15:14 gemadmin Bug heat 2 => 8
2024-07-22 12:35 guest Bug heat 8 => 14