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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.5, 2.6.2
    • Fix Version/s: 2.5.6, 2.6.3
    • Component/s: Unit tests
    • Labels:

      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

            Assignee:
            damyon Damyon Wiese
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Frédéric Massart
            Integrator:
            Dan Poltawski
            Tester:
            Dan Poltawski
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14