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

Mod assign: delete_instance incorrectly calls get_fast_modinfo when deleting an assignment

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_31_STABLE

      Description

      Stepping through the calls in mod/assign/locallib:

      delete_instance() calls 
      get_instance() which calls
      get_course_module() which calls
      get_fast_modinfo()
      

      Getting the module during deletion should be achieved via a DB call, not via the cache.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jaked Jake Dallimore
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Mihail Geshoski, Peter Dias, Matteo Scaramuccia, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Matteo Scaramuccia, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: