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

Bug is quiz restore debug logging code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.2, 2.8
    • Fix Version/s: 2.7.3
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      We don't think it is necessary to test this trivial change as it is too difficult. You would need to make a backup file from a 2.6 site, with a quiz that has bad data coming from an old bug, then restore it into 2.7.

      We think code review should be sufficient as this trivial change is only to a warning message and only uses data already used further down in the function.

      (Sam found this with a 2GB backup file. You probably don't want to use that for testing)

      Show
      We don't think it is necessary to test this trivial change as it is too difficult. You would need to make a backup file from a 2.6 site, with a quiz that has bad data coming from an old bug, then restore it into 2.7. We think code review should be sufficient as this trivial change is only to a warning message and only uses data already used further down in the function. (Sam found this with a 2GB backup file. You probably don't want to use that for testing )
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Thanks to sam marshall for finding this.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            Sam Marshall
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Nov/14