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

Deleting an activity with the recycle bin enabled, or backup / restore, locks the users session

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1) Generate a large course /admin/tool/generator/maketestcourse.php

      2) IGNORE: Make sure the recycle bin is enabled /admin/settings.php?section=tool_recyclebin

      3) Backup the course, while it is running open a second tab and confirm you can still browse the site

      4) Restore a course backup, while it is running open a second tab and confirm you can still browse the site

       

      Show
      1) Generate a large course /admin/tool/generator/maketestcourse.php 2) IGNORE: Make sure the recycle bin is enabled /admin/settings.php?section=tool_recyclebin 3) Backup the course, while it is running open a second tab and confirm you can still browse the site 4) Restore a course backup, while it is running open a second tab and confirm you can still browse the site  
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64310-master-rebase

      Description

      Another side effect of MDL-54751 is that while you wait for it to complete (which for some clients takes minutes) they cannot do anything else in other tabs. The delete activity code should release the session lock

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 50 minutes
                  4h 50m