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

course/tests/courselib_test.php passes instanceid instead of cmid to context_module::instance()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.5, 2.6.2
    • 2.5.6, 2.6.3
    • Unit tests

    Description

      Note: There is also an issue to randomize the autonumbers for tables when they are reset - this would find this bug.

      I noticed it because it's failing on a specific version of MariaDB that has an autonumber reset bug.

      Attachments

        Activity

          People

            damyon Damyon Wiese
            damyon Damyon Wiese
            Frédéric Massart Frédéric Massart
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14