← Back to team overview

mahara-contributors team mailing list archive

[Bug 1011888] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1320
Committed: http://gitorious.org/mahara/mahara/commit/73c68b0dbd0501e9726ecce5c5766df283af419d
Submitter: Hugh Davenport (hugh@xxxxxxxxxxxxxxx)
Branch:    master

commit 73c68b0dbd0501e9726ecce5c5766df283af419d
Author: Christopher Tombleson <christopher@xxxxxxxxxxxxxxx>
Date:   Tue Jun 12 13:32:15 2012 +1200

    Fixed undefined properties (Bug #1011888)
    
    Fixed undefined properties when submitting more than one page for
    assessment in a group.
    
    Change-Id: Id01eaff899a86a8363c6c3916f23e6c51035e886
    Signed-off-by: Christopher Tombleson <christopher@xxxxxxxxxxxxxxx>

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