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

Changing a course event to a user event results in an error

    XMLWordPrintable

Details

    • 0
    • Team Hedgehog 4.1 sprint 0.1, Team Hedgehog 4.1 sprint 0.2

    Description

      1. Create a Group event
      2. Edit the event
      3. Change it to a "User" event
      4. Press "Save"

      SELECT id,category FROM {course} WHERE id = ?
      [array (
        0 => '0',
      )]
      Error code: invalidrecord
      * line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
      * line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
      * line 6556 of /lib/accesslib.php: call to moodle_database->get_record()
      * line 304 of /calendar/classes/external/event_exporter_base.php: call to context_course::instance()
      * line 69 of /calendar/classes/external/event_exporter.php: call to core_calendar\external\event_exporter_base->get_other_values()
      * line 125 of /lib/classes/external/exporter.php: call to core_calendar\external\event_exporter->get_other_values()
      * line 948 of /calendar/externallib.php: call to core\external\exporter->export()
      * line 228 of /lib/externallib.php: call to core_calendar_external::submit_create_update_form()
      * line 59 of /lib/ajax/service.php: call to external_api::call_external_function()
      * 

      Attachments

        Issue Links

          Activity

            People

              jaked Jake Dallimore
              dobedobedoh Andrew Lyons
              Stevani Andolo Stevani Andolo
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              14 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                22/Aug/22

                Time Tracking

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