← Back to team overview

mahara-contributors team mailing list archive

[Bug 1401313] [NEW] Command-line updater not detecting core & local upgrades

 

Public bug reported:

The command-line upgrade script (admin/cli/upgrade.php) now detects
whether there are upgrades to run by examining the "toupgradecount"
value returned from check_upgrades(). But core and local don't increment
that value, only plugins do. Consequently, the CLI upgrader only runs
upgrades if there are plugin upgrades waiting also.

** Affects: mahara
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/1.10
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: Confirmed

** Affects: mahara/15.04
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: cli local upgrades

** Also affects: mahara/15.04
   Importance: Undecided
       Status: New

** Changed in: mahara/15.04
    Milestone: None => 15.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1401313

Title:
  Command-line updater not detecting core & local upgrades

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  In Progress

Bug description:
  The command-line upgrade script (admin/cli/upgrade.php) now detects
  whether there are upgrades to run by examining the "toupgradecount"
  value returned from check_upgrades(). But core and local don't
  increment that value, only plugins do. Consequently, the CLI upgrader
  only runs upgrades if there are plugin upgrades waiting also.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1401313/+subscriptions


Follow ups

References