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

Drag and drop reorder sometimes flakes out

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      1. Login as an admin and turn editing on in the Dashboard.
      2. Create a competency framework and add at least 3 competencies to it.
      3. Create a course.
      4. Under Course administration, click Course competencies.
      5. Add 2 course competencies.
      6. Reload the course competencies page.
      7. Drag a competency to reorder them.
        • Confirm that the course competencies are properly reordered as intended.
        • Confirm after dropping the competency, the opacity gets removed.
      8. Add another course competency.
      9. Add the following line at the beginning of \tool_lp\external\reorder_course_competency():

        error_log("REORDER COUSE COMPETENCY");
        

      10. Back on the browser, drag to reorder any competency.
        • Confirm that the course competencies are properly reordered as intended.
        • Confirm after dropping the competency, the opacity gets removed.
      11. Open up a console terminal and tail Apache's error_log. i.e.

        tail -f /var/log/apache2/error.log
        

        • Confirm that there is only a single "REORDER COUSE COMPETENCY" on the log for each drag and reorder operation performed.
      12. Back on the browser, delete a course competency.
      13. Drag to reorder any competency.
        • Confirm that the course competencies are properly reordered as intended.
        • Confirm after dropping the competency, the opacity gets removed.
      14. Check the console for Apache's error_log.
        • Confirm that there is only a single "REORDER COUSE COMPETENCY" on the log for each drag and reorder operation performed.
      15. With editing on, drag to reorder the navigation and administration blocks.
        • Confirm that the blocks get reordered as intended.
      16. Go to the course page and reorder activities by drag and drop.
        • Confirm that the activities get reordered as intended.
      17. Repeat the above steps for the learning plan competencies page and other tool_lp pages that use tool_lp-dragdrop-reorder.
      Show
      Login as an admin and turn editing on in the Dashboard. Create a competency framework and add at least 3 competencies to it. Create a course. Under Course administration, click Course competencies. Add 2 course competencies. Reload the course competencies page. Drag a competency to reorder them. Confirm that the course competencies are properly reordered as intended. Confirm after dropping the competency, the opacity gets removed. Add another course competency. Add the following line at the beginning of \tool_lp\external\reorder_course_competency(): error_log("REORDER COUSE COMPETENCY"); Back on the browser, drag to reorder any competency. Confirm that the course competencies are properly reordered as intended. Confirm after dropping the competency, the opacity gets removed. Open up a console terminal and tail Apache's error_log. i.e. tail -f /var/log/apache2/error.log Confirm that there is only a single "REORDER COUSE COMPETENCY" on the log for each drag and reorder operation performed. Back on the browser, delete a course competency. Drag to reorder any competency. Confirm that the course competencies are properly reordered as intended. Confirm after dropping the competency, the opacity gets removed. Check the console for Apache's error_log. Confirm that there is only a single "REORDER COUSE COMPETENCY" on the log for each drag and reorder operation performed. With editing on, drag to reorder the navigation and administration blocks. Confirm that the blocks get reordered as intended. Go to the course page and reorder activities by drag and drop. Confirm that the activities get reordered as intended. Repeat the above steps for the learning plan competencies page and other tool_lp pages that use tool_lp-dragdrop-reorder.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-53293-master
    • Sprint:
      CBE Sprint 7

      Description

      It seems unreliable - e.g. reorder competencies in a template.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16