When editing view access for collections and there are no views then an error is thrown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Hugh Davenport |
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.
[Wed May 18 17:42:43 2011] [error] [client ::1] Call stack (most recent first):, referer: http://
[Wed May 18 17:42:43 2011] [error] [client ::1] * log_message(
[Wed May 18 17:42:43 2011] [error] [client ::1] * error(8, "Undefined index: views", "/home/
[Wed May 18 17:42:43 2011] [error] [client ::1] * editaccess_
[Wed May 18 17:42:43 2011] [error] [client ::1] * call_user_
[Wed May 18 17:42:43 2011] [error] [client ::1] * Pieform-
[Wed May 18 17:42:43 2011] [error] [client ::1] * Pieform:
[Wed May 18 17:42:43 2011] [error] [client ::1] * pieform(array(size 7)) at /home/hugh/
[Wed May 18 17:42:43 2011] [error] [client ::1] , referer: http://
[Wed May 18 17:42:43 2011] [error] [client ::1] [WAR] 6e (view/access.
[Wed May 18 17:42:43 2011] [error] [client ::1] Call stack (most recent first):, referer: http://
[Wed May 18 17:42:43 2011] [error] [client ::1] * log_message(
[Wed May 18 17:42:43 2011] [error] [client ::1] * error(2, "Invalid argument supplied for foreach()", "/home/
[Wed May 18 17:42:43 2011] [error] [client ::1] * editaccess_
[Wed May 18 17:42:43 2011] [error] [client ::1] * call_user_
[Wed May 18 17:42:43 2011] [error] [client ::1] * Pieform-
[Wed May 18 17:42:43 2011] [error] [client ::1] * Pieform:
[Wed May 18 17:42:43 2011] [error] [client ::1] * pieform(array(size 7)) at /home/hugh/
[Wed May 18 17:42:43 2011] [error] [client ::1] , referer: http://
Changed in mahara: | |
importance: | Undecided → Medium |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
https:/ /reviews. mahara. org/199