Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34209

Moving sections by drag and drop causes the sections to be reordered

    Details

    • Testing Instructions:
      Hide

      You must do this for the following course formats:

      • topics (core)
      • weekly (core)
      • one of the grid formats (third-party)

      Each section should have a couple of differently named resources in it to help identify the sections from one another (not all of the same type).

      • Open a course
      • Turn editing on
      • Select a course section and drag it one section below
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Refresh the page
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Drag it back up to it's original location
      • Refresh the page
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Drag the section down two sections, and then up a section (without * releasing the drag)
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Drag it back up to it's original location
      • Refresh the page
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Drag the section down two sections and release
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Drag the section down a bit further - off the screen such that you invoke the scrolling action, and release
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Refresh the page
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Drag the section back up to the top, and then down one and release
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Refresh the page
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Pick up a section and move it up and down the page repeatedly before eventually dropping
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Refresh the page
        • Confirm that the title was updated correctly
        • Confirm that the contents of the section were updated correctly
      • Have a general play around and make sure that everything lands in the right places
      • Now repeat the above with sections, and blocks.
      Show
      You must do this for the following course formats: topics (core) weekly (core) one of the grid formats (third-party) Each section should have a couple of differently named resources in it to help identify the sections from one another (not all of the same type). Open a course Turn editing on Select a course section and drag it one section below Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Refresh the page Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Drag it back up to it's original location Refresh the page Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Drag the section down two sections, and then up a section (without * releasing the drag) Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Drag it back up to it's original location Refresh the page Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Drag the section down two sections and release Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Drag the section down a bit further - off the screen such that you invoke the scrolling action, and release Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Refresh the page Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Drag the section back up to the top, and then down one and release Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Refresh the page Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Pick up a section and move it up and down the page repeatedly before eventually dropping Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Refresh the page Confirm that the title was updated correctly Confirm that the contents of the section were updated correctly Have a general play around and make sure that everything lands in the right places Now repeat the above with sections, and blocks.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-34209-master
    • Story Points (Obsolete):
      20
    • Sprint:
      FRONTEND Sprint 6

      Description

      When I move the sections in my course, they will sometimes reorder randomly.

      What I did:
      1. Created a bunch of sections (I have 15)
      2. Added content to some of the sections
      3. Added a section to the end using the plus icon
      4. Tried to drag and drop it to a location higher up on the page

      What I expected:
      The section to drop into the new location.

      What actually happens:
      The section drops into a random location and the other sections reorder randomly as well.

      This happens about every 4th time I try to reorder a section.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/13