mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #43326
[Bug 1705547] Re: Error with auth_ldap_sync_cron
** Also affects: mahara/17.04
Importance: Undecided
Status: New
** Also affects: mahara/17.10
Importance: Undecided
Status: New
** Changed in: mahara/17.04
Status: New => Confirmed
** Changed in: mahara/17.10
Status: New => In Progress
** Changed in: mahara/17.04
Importance: Undecided => High
** Changed in: mahara/17.10
Importance: Undecided => High
** Changed in: mahara/17.04
Milestone: None => 17.04.3
** Changed in: mahara/17.10
Milestone: None => 17.10.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/1705547
Title:
Error with auth_ldap_sync_cron
Status in Mahara:
In Progress
Status in Mahara 17.04 series:
Confirmed
Status in Mahara 17.10 series:
In Progress
Bug description:
We have this error in our log :
[WAR] eb (auth/ldap/lib.php:1627) Undefined property: stdClass::$active
The cause is the the db record do not contain "active":
$auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id');
It can be fixed by adding it :
$auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id,active');
I think its a regression caused by :
Bug 1640308: Adding an auth_instance "active" column
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1705547/+subscriptions
References