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

calendar preferences page doesn't work on site homepage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Calendar
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      on site homepage in the calendar block if you select the month name to bring up the calendar view then press the "preferences" button in top right you get this error:

      Can not find data record in database table course.

      More information about this error
      Debug info: SELECT * FROM

      {course}

      WHERE id = ?
      [array (
      0 => 0,
      )]
      Stack trace:

      • line 1191 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
      • line 1168 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
      • line 11 of /calendar/preferences.php: call to moodle_database->get_record()

        Attachments

          Activity

            People

            • Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10