← Back to team overview

mahara-contributors team mailing list archive

[Bug 1663439] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7448
Committed: https://git.mahara.org/mahara/mahara/commit/8edf997663a66496eaeb598e0bee41544d2f8fd8
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 8edf997663a66496eaeb598e0bee41544d2f8fd8
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Feb 10 14:33:59 2017 +1300

Bug 1663439: Setting a default value for auth 'active'

So that upgrade doesn't thow warnings before table row is added

behatnotneeded

Change-Id: Ic21b8f967526773e85fd1775ecdfca51bb69c1f6
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/1663439

Title:
  [WAR] 76 (auth/lib.php:117) Undefined property: stdClass::$active

Status in Mahara:
  Fix Committed

Bug description:
  This is due to the adding of a new column in upgrade but if something
  before that upgrade block wants to access Auth::init() it throws the
  error because the vale from db doesn't exist yet

  We need to check if it exists and set a default if not

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


References