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

Unlock the session in report_outline as it can take a long time

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Reports
    • MDL-78968-report-outline-session-unlock-m
    • Hide
      1. Add a test course small is enough

        cd moodle/dirroot
        php admin/tool/generator/cli/maketestsite.php --size=S

      2. Make note of the new course id
      3. Add sleep(10); to line 141 of report/outline/index.php (straight after \core\session\manager::write_close(); )
      4. Navigate in browser to report/outline/index.php?id=XX (use the new course id here)
      5. While this page is loading, open another page from the site in a new tab and confirm should load straight away.
      Show
      Add a test course small is enough cd moodle/dirroot php admin/tool/generator/cli/maketestsite.php --size=S Make note of the new course id Add sleep(10); to line 141 of report/outline/index.php (straight after \core\session\manager::write_close(); ) Navigate in browser to report/outline/index.php?id=XX (use the new course id here) While this page is loading, open another page from the site in a new tab and confirm should load straight away.

      This can be a very slow report and clogs up the session

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.