-
Bug
-
Resolution: Fixed
-
Minor
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
I discovered a peculiar error when shifting sections while testing. When I highlighted a section and shifted that section up, the highlighting shifted to the section that took its place (formerly above, now below). When I shifted a highlighted section down, the highlighting stayed with the topic section. This seems to happen only with AJAX turned off.
This reminded me of a case that Raj mentioned recently where unit tests were only testing section moving in one direction, but not the other. It might be worth checking the unit tests for this as well.
Replication steps:
- Log in as admin
- Navigate to Site admin > Appearance > AJAX and JavaScript
- Uncheck "Enable AJAX" and save settings
- Navigate to a course or create a new one
- Edit the course settings and set the course format to Topics
- Add some content to sections so you can track their movement
- Highlight a section somewhere in the middle
- Click the up icon to shift the highlighted section up
- Click the down icon to shift the highlighted section down
- Navigate to Site admin > Appearance > AJAX and JavaScript
- Check "Enable AJAX" and save settings
- Navigate to the same course
- Drag the highlighted course section up
- Drag the highlighted course section down
Expected result: The highlighting stays with the same topic section
Actual result: When moving the highlighted section upwards, with AJAX off, highlighting shifts to another section
- has been marked as being related by
-
MDL-34798 AJAX drag and drop move adjusts default section names when moving down but not up.
-
- Closed
-
- Testing discovered
-
MDLQA-2260 CLONE - In Internet Explorer 9, on the index page, course controls work correctly for topic format, in paged mode, when ajax is turned off.
- Passed