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

Avoid recycle bin locking the user's session during activity deletion or backup/restore (when it is enabled)

    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

              Assignee:
              dmitriim Dmitrii Metelkin
              Reporter:
              brendanheywood Brendan Heywood
              Peer reviewer:
              Víctor Déniz Falcón
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              8 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

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