mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #43316
[Bug 1705547] [NEW] Error with auth_ldap_sync_cron
Public bug reported:
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
** Affects: mahara
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
-
[Bug 1705547] Re: Error with auth_ldap_sync_cron
From: Robert Lyon, 2017-10-30
-
[Bug 1705547] Re: Error with auth_ldap_sync_cron
From: Cecilia Vela Gurovic, 2017-09-10
-
[Bug 1705547] A change has been merged
From: Mahara Bot, 2017-08-30
-
[Bug 1705547] A patch has been submitted for review
From: Mahara Bot, 2017-08-30
-
[Bug 1705547] A change has been merged
From: Mahara Bot, 2017-08-30
-
[Bug 1705547] Re: Error with auth_ldap_sync_cron
From: Robert Lyon, 2017-08-30
-
[Bug 1705547] Re: Error with auth_ldap_sync_cron
From: Gilles-Philippe Leblanc, 2017-07-27
-
[Bug 1705547] Re: Error with auth_ldap_sync_cron
From: Kristina Hoeppner, 2017-07-23
-
[Bug 1705547] A patch has been submitted for review
From: Mahara Bot, 2017-07-21
-
[Bug 1705547] Re: Error with auth_ldap_sync_cron
From: Gilles-Philippe Leblanc, 2017-07-20
-
[Bug 1705547] A patch has been submitted for review
From: Mahara Bot, 2017-07-20
-
[Bug 1705547] Re: Error with auth_ldap_sync_cron
From: Gilles-Philippe Leblanc, 2017-07-20