← Back to team overview

mahara-contributors team mailing list archive

[Bug 1034223] Re: Unrecoverable error when deleting a view

 

https://reviews.mahara.org/1483

** Changed in: mahara
       Status: Confirmed => In Progress

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

Title:
  Unrecoverable error when deleting a view

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When clicking on the delete button on the view listings page

   [WAR] 64 (view/delete.php:40) Undefined variable: group
   Call stack (most recent first):

      log_message("Undefined variable: group", 8, true, true, "/var/www/mahara-dev/htdocs/view/delete.php", 40) at /var/www/mahara-dev/htdocs/lib/errors.php:446
      error(8, "Undefined variable: group", "/var/www/mahara-dev/htdocs/view/delete.php", 40, array(size 51)) at /var/www/mahara-dev/htdocs/view/delete.php:40

   [WAR] 64 (lib/group.php:198) Trying to get property of non-object
   Call stack (most recent first):

      log_message("Trying to get property of non-object", 8, true, true, "/var/www/mahara-dev/htdocs/lib/group.php", 198) at /var/www/mahara-dev/htdocs/lib/errors.php:446
      error(8, "Trying to get property of non-object", "/var/www/mahara-dev/htdocs/lib/group.php", 198, array(size 2)) at /var/www/mahara-dev/htdocs/lib/group.php:198
      group_within_edit_window(null) at /var/www/mahara-dev/htdocs/view/delete.php:40

   [WAR] 64 (lib/errors.php:464) An exception was thrown of class InvalidArgumentException.
   THIS IS BAD and should be changed to something extending MaharaException,
   unless the exception is from a third party library.
   Original trace follows
   [WAR] 64 (lib/group.php:1807) group_user_access: group argument should be an integer
   Call stack (most recent first):

      group_param_groupid(null) at /var/www/mahara-dev/htdocs/lib/group.php:50
      group_user_access(null) at /var/www/mahara-dev/htdocs/lib/group.php:198
      group_within_edit_window(null) at /var/www/mahara-dev/htdocs/view/delete.php:40

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


References