-
Bug
-
Resolution: Fixed
-
Major
-
3.6.3
-
MOODLE_36_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
For example if you have a course with the following structure (topics format, with no custom section names):
- Topic 1
- Activity 1
- Activity 2
- Activity 3
- Topic 2
- Activity 4
- Topic 3
- Activity 5
- Topic 4
If you click on the drag and drop handle for Topic 2 you will only be able to move to Topic 3 or Topic 4 and not Topic 1
If you click on the drag and drop handle for Topic 3 you will only see items for Topic 1 and Topic 4
In all the above cases it will move the current item below the names section, so not displaying the section above it make sense, however it does mean that it is impossible to move a section to the top of the page in a single action using it.
I would expect either:
- The To item text is changed to Below item and a new To the top option is included for all but the top item - this is how activities work.
- All items other than the clicked one are displayed and the action changes based on the direction of movement, i.e. if I select the Topic 2 drag handler and select Topic 1 it would appear above it, while if I clicked on Topic 3 it would appear below it. - This seems to be how the documentation in code implies it should work, although that does not match what it is doing.
Additionally if stops working after one drag and drop action has been taken, the list does not appear to be updated correctly.
- Select the Drag and drop handle for Topic 1 and move it to Topic 4. The items move as expected, and the topic names are updated in the visual display
- Select the Drag and drop handle for current Topic 1 and the new drop menu is non-nonsensical. All the items are still using their original names.
- If I now select the Topic 1 entry the item is moved to the bottom of the course and given a title of undefined and the items that should now be Topic 3 is still labelled as Topic 4 (if refreshed at this point the sections are labelled correctly and in the correct order)
After this further moves without refreshing can result in even more strange behaviour and the results on refreshing the page are unpredictable.
Similar results can be obtained in the Weeks course format. It does not seem to matter if the theme is Boost or Clean
- Discovered while testing
-
MDL-68189 Names of sections renamed inline do not change in the keyboard drag and drop menu
- Closed
- has been marked as being related by
-
MDL-65360 WCAG2.1 AA compliance by September 2019 in the EU and UK
- Closed
-
MDLQA-13201 CLONE - A highlighted section with multiple resources and activities can be moved using drag and drop in Firefox.
- Passed
- is blocked by
-
MDL-68231 Dropping sections does not complete
- Closed
- is duplicated by
-
MDL-65546 Name of sections or mods are not displayed correctly after some drag and drop in a course in pop-up dialog
- Closed
- Testing discovered
-
MDL-68184 Block reordering not consistent when there are orphaned block regions
- Closed