Error when creating automatic groups via LDAP

Bug #1803194 reported by Robert Lyon on 2018-11-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Unassigned
17.10
High
Unassigned
18.04
High
Unassigned
18.10
High
Unassigned
19.04
High
Robert Lyon

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

Reviewed: https://reviews.mahara.org/9308
Committed: https://git.mahara.org/mahara/mahara/commit/b77049b27df1107edb4d5ec4c2b29b7835e7b687
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit b77049b27df1107edb4d5ec4c2b29b7835e7b687
Author: Robert Lyon <email address hidden>
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 <email address hidden>

Reviewed: https://reviews.mahara.org/9315
Committed: https://git.mahara.org/mahara/mahara/commit/d6d5591befd123d9860a42852d0503748f505932
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.10_STABLE

commit d6d5591befd123d9860a42852d0503748f505932
Author: Robert Lyon <email address hidden>
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 <email address hidden>
(cherry picked from commit b77049b27df1107edb4d5ec4c2b29b7835e7b687)

Mahara Bot (dev-mahara) wrote :

Patch for "17.10_STABLE" branch: https://reviews.mahara.org/9317

Reviewed: https://reviews.mahara.org/9317
Committed: https://git.mahara.org/mahara/mahara/commit/b650d781107775ceac84259237a26ceacaa372c1
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 17.10_STABLE

commit b650d781107775ceac84259237a26ceacaa372c1
Author: Robert Lyon <email address hidden>
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 <email address hidden>
(cherry picked from commit b77049b27df1107edb4d5ec4c2b29b7835e7b687)
(cherry picked from commit d6d5591befd123d9860a42852d0503748f505932)

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9316
Committed: https://git.mahara.org/mahara/mahara/commit/309d31fb988f31116dfd66b47c09915fbeac960e
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.04_STABLE

commit 309d31fb988f31116dfd66b47c09915fbeac960e
Author: Robert Lyon <email address hidden>
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 <email address hidden>
(cherry picked from commit b77049b27df1107edb4d5ec4c2b29b7835e7b687)
(cherry picked from commit d6d5591befd123d9860a42852d0503748f505932)

Reviewed: https://reviews.mahara.org/9321
Committed: https://git.mahara.org/mahara/mahara/commit/05aaf2c0082841fd6f1867d12fcdda2295c24733
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 05aaf2c0082841fd6f1867d12fcdda2295c24733
Author: Steven Spinelli <email address hidden>
Date: Tue Nov 20 12:05:52 2018 +1300

Behat Bug 1804074 Adding journal entry from Journal block on page
Merge branch 'master' of https://git.mahara.org/mahara/mahara

* 'master' of https://git.mahara.org/mahara/mahara:
Bug 1803616: SyntaxError: expected expression, got ';'
Bug 1802180: Have a simplified group update webservice option
Bug 1800422: Fixed z-index for custom-dropdown
Bug 1803194: Need to include the user object
Bug 1802205: All external links to be opened in new tab/window by default

Change-Id: Ibe0898d9326c0527cc6a4e937da9782b00c10eb0

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers