← Back to team overview

mahara-contributors team mailing list archive

[Bug 1839549] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10253
Committed: https://git.mahara.org/mahara/mahara/commit/a8b65f92c62390e2a073689e3fad4f5accd1b1c4
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    master

commit a8b65f92c62390e2a073689e3fad4f5accd1b1c4
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Aug 9 08:58:34 2019 +1200

Bug 1839549: Allow CLI upgrade to set / unset _upgrade flag

behatnotneeded

Change-Id: Idc3ff1f719a42481a6e0d3864c0c82d0b3016e01
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1839549

Title:
  Upgrading mahara via CLI doesn't remove the _upgrade flag

Status in Mahara:
  Fix Committed

Bug description:
  If one tries upgrading via web interface it sets a flag in 'config'
  table like so:

     field | value
  ---------+------------
  _upgrade | 1565298392

  and removes the flag when upgrade finished

  the command line however does not set / remove the flag

  We should do this here are well in case of the following 2 scenarios:

  1) Some one tries to upgrade via web and it fails - then upgrades successfully via CLI:
  - The flag is not removed

  2) Some one tries to upgrade via CLI and it fails - then goes to upgrade via web:
  - It doesn't alert them they are in a partial upgrade state

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


References