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

Error displayed when deleting calendar event

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.3, 2.2.2
    • 2.1.7, 2.2.4
    • Events API
    • MOODLE_20_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Leave debugging off

      Show
      Leave debugging off
    • Hide

      1. Ensure debugging is turned on at Site Administration -> Development -> Debugging
      2. Click on a ling in the calendar block to be taken to the list of events
      3. Click the button "New event" button
      4. Enter details for a new event and save
      5. Find the new event in the events list
      6. Click the X icon on the right of the event
      7. The event information should be shown without any errors reported

      Show
      1. Ensure debugging is turned on at Site Administration -> Development -> Debugging 2. Click on a ling in the calendar block to be taken to the list of events 3. Click the button "New event" button 4. Enter details for a new event and save 5. Find the new event in the events list 6. Click the X icon on the right of the event 7. The event information should be shown without any errors reported

    Description

      When deleting an event with debugging turned on, the following error is shown.

      calendar_print_event is deprecated please update your code
          line 558 of \calendar\lib.php: call to debugging()
          line 124 of \calendar\delete.php: call to calendar_print_event()

      Replication instructions:

      1. Ensure debugging is turned on at Site Administration -> Development -> Debugging
      2. Click on a ling in the calendar block to be taken to the list of events
      3. Click the button "New event" button
      4. Enter details for a new event and save
      5. Find the new event in the events list
      6. Click the X icon on the right of the event
      7. The event information is shown with an error

      Attachments

        Issue Links

          Activity

            People

              ankit_frenz Ankit Agarwal
              salvetore Michael de Raadt
              Rossiani Wijaya Rossiani Wijaya
              Dan Poltawski Dan Poltawski
              Andrew Davis Andrew Davis
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/12