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

Something could be wrong in question/calculated upgrade script

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Questions
    • None
    • Any
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Hi, was reviewing HEAD savepoints and found this:

      • /question/type/calculated/db/upgrade.php:
        + found 3 matching 'if' blocks and 'savepoint' calls
        + versions in upgrade blocks properly ordered
        + ERROR: version 2009082000 has wrong savepoint call with version 2009092000

      Also, next step has strange condition:

      if ($result && $oldversion >= 2009082000 && $oldversion < 2009092000 )

      So I'm not really sure how both things should be fixed... if you can take a look to it... TIA!

            ppichet Pierre Pichet (Inactive)
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.