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

Unlocking a grade items is causing Moodle to die

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2
    • Fix Version/s: 2.1.2
    • Component/s: Backup, Gradebook
    • Labels:
    • Environment:
      PHP Version 5.3.6, MySQL 5.1.57
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Try locking, then unlocking a quiz grade item when viewing grade categories.

      Show
      Try locking, then unlocking a quiz grade item when viewing grade categories.
    • Workaround:
      Hide

      After getting the problem, log back into the course and go back into grade category items. The item really does get unlocked. But having to log back in for each item takes very long.

      I did try using the the browser's back button, refreshed the page, and it shows the item unlocked. This is a little faster.

      Show
      After getting the problem, log back into the course and go back into grade category items. The item really does get unlocked. But having to log back in for each item takes very long. I did try using the the browser's back button, refreshed the page, and it shows the item unlocked. This is a little faster.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      I imported a 1.9.12 course into 2.1. I was going through the grade book categories and items and started to unlock some of the grade book items. In Safari, after clicking the unlock icon, a blank screen appears. Refreshing the browser doesn't help. I am attaching a picture of how my gradebook looks and a "locked" item.

      When I re-enter the course and go to the grade book categories, I notice that the item that I tried to unlock is indeed unlocked. (This is a very slow workaround).

      I tried in Chrome, and got a message back (see attachment). Maybe this will help someone solve this problem.

      Firefox does the same thing as Safari, Moodle just dies with a blank screen.

      By the way, this never happens in my 1.9.12 Moodle installation on the same server.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Oct/11