← Back to team overview

mahara-contributors team mailing list archive

[Bug 1011888] Re: Undefined property $group & $institution when submitting pages for group assessment.

 

** Changed in: mahara
       Status: In Progress => Fix Committed

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1011888

Title:
  Undefined property $group & $institution when submitting pages for
  group assessment.

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  When submitting more than one page to a group for assessment on
  master, I get the following warnings:

  Undefined property $group.
  Call stack (most recent first):
      log_message("Undefined property: stdClass::$group", 8, true, true, "/home/christopher/dev/mahara/htdocs/lib/view.php", 3403) at /home/christopher/dev/mahara/htdocs/lib/errors.php:446

      error(8, "Undefined property: stdClass::$group",
  "/home/christopher/dev/mahara/htdocs/lib/view.php", 3403, array(size
  7)) at /home/christopher/dev/mahara/htdocs/lib/view.php:3403

      View::get_extra_view_info(array(size 2), false) at /home/christopher/dev/mahara/htdocs/lib/view.php:3383
      View::get_submitted_views("3") at /home/christopher/dev/mahara/htdocs/blocktype/groupviews/lib.php:161
      PluginBlocktypeGroupViews::get_data("3") at /home/christopher/dev/mahara/htdocs/blocktype/groupviews/lib.php:71
      PluginBlocktypeGroupViews::render_instance(object(BlockInstance)) at Unknown:0
      call_user_func_array(array(size 2), array(size 1)) at /home/christopher/dev/mahara/htdocs/lib/mahara.php:1351
      call_static_method("PluginBlocktypeGroupviews", "render_instance", object(BlockInstance)) at /home/christopher/dev/mahara/htdocs/blocktype/lib.php:720

      BlockInstance->render_viewing() at /home/christopher/dev/mahara/htdocs/lib/view.php:1538
      View->build_column(1, false) at /home/christopher/dev/mahara/htdocs/lib/view.php:1506
      View->build_columns() at /home/christopher/dev/mahara/htdocs/group/view.php:82


  
  Undefined property $institution.

  Call stack (most recent first):
      log_message("Undefined property: stdClass::$institution", 8, true, true, "/home/christopher/dev/mahara/htdocs/lib/view.php", 3405) at /home/christopher/dev/mahara/htdocs/lib/errors.php:446

      error(8, "Undefined property: stdClass::$institution",
  "/home/christopher/dev/mahara/htdocs/lib/view.php", 3405, array(size
  7)) at /home/christopher/dev/mahara/htdocs/lib/view.php:3405

      View::get_extra_view_info(array(size 2), false) at /home/christopher/dev/mahara/htdocs/lib/view.php:3383
      View::get_submitted_views("3") at /home/christopher/dev/mahara/htdocs/blocktype/groupviews/lib.php:161
      PluginBlocktypeGroupViews::get_data("3") at /home/christopher/dev/mahara/htdocs/blocktype/groupviews/lib.php:71
      PluginBlocktypeGroupViews::render_instance(object(BlockInstance)) at Unknown:0
      call_user_func_array(array(size 2), array(size 1)) at /home/christopher/dev/mahara/htdocs/lib/mahara.php:1351
      call_static_method("PluginBlocktypeGroupviews", "render_instance", object(BlockInstance)) at /home/christopher/dev/mahara/htdocs/blocktype/lib.php:720

      BlockInstance->render_viewing() at /home/christopher/dev/mahara/htdocs/lib/view.php:1538
      View->build_column(1, false) at /home/christopher/dev/mahara/htdocs/lib/view.php:1506
      View->build_columns() at /home/christopher/dev/mahara/htdocs/group/view.php:82

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


References