When there's no milestone associated with a fix for master, let's just
set it to 1.5.0. That way we can start keeping track of the changes that
are getting into 1.5.
** Changed in: mahara
Milestone: None => 1.5.0
--
You received this bug notification because you are a member of Mahara
Committers, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/784405
Title:
When editing view access for collections and there are no views then
an error is thrown
Status in Mahara ePortfolio:
Fix Committed
Bug description:
On /view/access.php
When there are collections, but no views, then the following error is
thrown
[Wed May 18 17:42:43 2011] [error] [client ::1] [WAR] 6e
(view/access.php:497) Undefined index: views, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] Call stack (most recent
first):, referer: http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] * log_message("Undefined
index: views", 8, true, true,
"/home/hugh/src/mahara/mahara/htdocs/view/access.ph...", 497) at
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:446, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] * error(8, "Undefined
index: views", "/home/hugh/src/mahara/mahara/htdocs/view/access.ph...", 497,
array(size 12)) at /home/hugh/src/mahara/mahara/htdocs/view/access.php:497,
referer: http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
editaccess_submit(object(Pieform), array(size 11)) at Unknown:0, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
call_user_func_array("editaccess_submit", array(size 2)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
Pieform->__construct(array(size 7)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
Pieform::process(array(size 7)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] * pieform(array(size 7)) at
/home/hugh/src/mahara/mahara/htdocs/view/access.php:515, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] , referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] [WAR] 6e
(view/access.php:497) Invalid argument supplied for foreach(), referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] Call stack (most recent
first):, referer: http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] * log_message("Invalid
argument supplied for foreach()", 8, true, true,
"/home/hugh/src/mahara/mahara/htdocs/view/access.ph...", 497) at
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:446, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] * error(2, "Invalid
argument supplied for foreach()",
"/home/hugh/src/mahara/mahara/htdocs/view/access.ph...", 497, array(size 12))
at /home/hugh/src/mahara/mahara/htdocs/view/access.php:497, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
editaccess_submit(object(Pieform), array(size 11)) at Unknown:0, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
call_user_func_array("editaccess_submit", array(size 2)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
Pieform->__construct(array(size 7)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] *
Pieform::process(array(size 7)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] * pieform(array(size 7)) at
/home/hugh/src/mahara/mahara/htdocs/view/access.php:515, referer:
http://localhost/mahara/view/access.php?id=16
[Wed May 18 17:42:43 2011] [error] [client ::1] , referer:
http://localhost/mahara/view/access.php?id=16
_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help : https://help.launchpad.net/ListHelp