← Back to team overview

mahara-contributors team mailing list archive

[Bug 1803194] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9317
Committed: https://git.mahara.org/mahara/mahara/commit/b650d781107775ceac84259237a26ceacaa372c1
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    17.10_STABLE

commit b650d781107775ceac84259237a26ceacaa372c1
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Nov 14 10:47:14 2018 +1300

Bug 1803194: Need to include the user object

behatnotneeded

Change-Id: Ia7cd266ab5552e14a14f0ec3412448a249a06af9
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit b77049b27df1107edb4d5ec4c2b29b7835e7b687)
(cherry picked from commit d6d5591befd123d9860a42852d0503748f505932)

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

Title:
  Error when creating automatic groups via LDAP

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  When I want to create automatic groups, I've this log :

   
  [WAR] c4 (lib/group.php:419) Undefined variable: USER
   
  Call stack (most recent first):

      log_message("Undefined variable: USER", 8, true, true, "/home/www/mahara/lib/group.php", 419) at /home/www/mahara/lib/errors.php:520
      error(8, "Undefined variable: USER", "/home/www/mahara/lib/group.php", 419, array(size 3)) at /home/www/mahara/lib/group.php:419
      group_create(array(size 15)) at /home/www/mahara/auth/ldap/lib.php:1498
      AuthLdap->sync_groups() at /home/www/mahara/auth/ldap/lib.php:1646
      PluginAuthLdap::auth_ldap_sync_cron() at /home/www/mahara/lib/mahara.php:1813
      call_static_method("PluginAuthLdap", "auth_ldap_sync_cron") at /home/www/mahara/lib/cron.php:115

  [WAR] c4 (lib/errors.php:535) [Error]: Call to a member function get() on null
  Call stack (most recent first):

      exception(object(Error)) at Unknown:0

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


References