mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #09907
[Bug 1034223] A change has been merged
Reviewed: https://reviews.mahara.org/1483
Committed: http://gitorious.org/mahara/mahara/commit/2d32a8d2c936c299f60fa713f1154c2632d3c1ed
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch: master
commit 2d32a8d2c936c299f60fa713f1154c2632d3c1ed
Author: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>
Date: Wed Aug 8 14:43:01 2012 +1200
Allow deleting of views (bug #1034223)
Change-Id: I4cc41e6ab01bde51612ec00c992be58c54081d47
Signed-off-by: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>
--
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