Undefined property warning on "Find groups" page

Bug #1567152 reported by Aaron Wells on 2016-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Low
Ghada El-Zoghbi
15.10
Low
Unassigned
16.04
Low
Aaron Wells
16.10
Low
Ghada El-Zoghbi

Bug Description

I just noticed this warning when viewing the "Find groups" page:

[WAR] 18 (lib/dwoo/dwoo/Dwoo/Core.php:1265) Undefined property: stdClass::$homeurl
Call stack (most recent first):

    log_message("Undefined property: stdClass::$homeurl", 8, true, true, "/home/aaronw/www/mahara/htdocs/lib/dwoo/dwoo/Dwoo/...", 1265) at /home/aaronw/www/mahara/htdocs/lib/errors.php:439
    error(8, "Undefined property: stdClass::$homeurl", "/home/aaronw/www/mahara/htdocs/lib/dwoo/dwoo/Dwoo/...", 1265, array(size 5)) at /home/aaronw/www/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:1265
    Dwoo_Core->readVarInto(array(size 3), object(stdClass), false) at /home/aaronw/dataroot/mahara/dwoo/compile/raw/home/aaronw/www/mahara/htdocs/theme/raw/templates/group/group.tpl.d17.php:12
    include("/home/aaronw/dataroot/mahara/dwoo/compile/raw/home...") at /home/aaronw/www/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
    Dwoo_Core->get(object(Dwoo_Template_File), array(size 42)) at /home/aaronw/www/mahara/htdocs/lib/dwoo/dwoo/plugins/builtin/functions/include.php:66
    Dwoo_Plugin_include(object(Dwoo_Mahara), "group/group.tpl", null, null, null, "_root", null, array(size 2)) at /home/aaronw/dataroot/mahara/dwoo/compile/raw/home/aaronw/www/mahara/htdocs/theme/raw/templates/group/mygroupresults.tpl.d17.php:13
    include("/home/aaronw/dataroot/mahara/dwoo/compile/raw/home...") at /home/aaronw/www/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
    Dwoo_Core->get(object(Dwoo_Template_File), array(size 40)) at /home/aaronw/www/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:123
    Dwoo_Mahara->fetch("group/mygroupresults.tpl") at /home/aaronw/www/mahara/htdocs/group/find.php:195

To replicate:

1. Clean Mahara install
2. Create a group
3. Create another user
4. Log in as the other user
5. Go to Groups -> Find groups

Reviewed: https://reviews.mahara.org/6491
Committed: https://git.mahara.org/mahara/mahara/commit/f530c05a2f0c1deeb60b0f04346aab3f31642894
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit f530c05a2f0c1deeb60b0f04346aab3f31642894
Author: Ghada El-Zoghbi <email address hidden>
Date: Tue May 17 12:47:30 2016 +1000

Bug 1567152: Include missing property $homeurl for each group to display.

behatnotneeded

Change-Id: I673a19d8c7f90f330005acfe2a22fea696b38092

Reviewed: https://reviews.mahara.org/6493
Committed: https://git.mahara.org/mahara/mahara/commit/4cefd6f259ef38175d961117ba1a5f83c55c6cd2
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.04_STABLE

commit 4cefd6f259ef38175d961117ba1a5f83c55c6cd2
Author: Ghada El-Zoghbi <email address hidden>
Date: Tue May 17 12:47:30 2016 +1000

Bug 1567152: Include missing property $homeurl for each group to display.

behatnotneeded

Change-Id: I673a19d8c7f90f330005acfe2a22fea696b38092
(cherry picked from commit f530c05a2f0c1deeb60b0f04346aab3f31642894)

Reviewed: https://reviews.mahara.org/6900
Committed: https://git.mahara.org/mahara/mahara/commit/896c0b9e1d8eb2f75371201a78448bb1fd3f4474
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.10_STABLE

commit 896c0b9e1d8eb2f75371201a78448bb1fd3f4474
Author: Ghada El-Zoghbi <email address hidden>
Date: Tue May 17 12:47:30 2016 +1000

Bug 1567152: Include missing property $homeurl for each group to display.

behatnotneeded

Change-Id: I673a19d8c7f90f330005acfe2a22fea696b38092
(cherry picked from commit f530c05a2f0c1deeb60b0f04346aab3f31642894)

Robert Lyon (robertl-9) on 2016-10-21
Changed in mahara:
milestone: 16.04.1 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers