← Back to team overview

mahara-contributors team mailing list archive

[Bug 1567152] A change has been merged

 

Reviewed:  https://reviews.mahara.org/6900
Committed: https://git.mahara.org/mahara/mahara/commit/896c0b9e1d8eb2f75371201a78448bb1fd3f4474
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    15.10_STABLE

commit 896c0b9e1d8eb2f75371201a78448bb1fd3f4474
Author: Ghada El-Zoghbi <ghada@xxxxxxxxxxxxxxx>
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)

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

Title:
  Undefined property warning on "Find groups" page

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

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

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


References