Allow editing of pages with misconfigured navigation block (bug #813204)
When rendering pages, only ArtefactNotFound exceptions are caught, but
navigation blocks can throw CollectionNotFound instead. This change
catches all NotFound exceptions thrown when rendering block content and
block titles.
Change-Id: Ia52f2a8184e607dcb9868893a4acd6094d0dc35b
Signed-off-by: Richard Mansfield <email address hidden>
(cherry picked from commit e29f0a133e2e7c27ccce021d87e3b9d40d1e5778)
Reviewed: https:/ /reviews. mahara. org/523 gitorious. org/mahara/ mahara/ commit/ f6686fbefe3746d ff849bacb48d8d0 125ab47e60
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: 1.4_STABLE
commit f6686fbefe3746d ff849bacb48d8d0 125ab47e60
Author: Richard Mansfield <email address hidden>
Date: Wed Jul 20 10:39:03 2011 +1200
Allow editing of pages with misconfigured navigation block (bug #813204)
When rendering pages, only ArtefactNotFound exceptions are caught, but
navigation blocks can throw CollectionNotFound instead. This change
catches all NotFound exceptions thrown when rendering block content and
block titles.
Change-Id: Ia52f2a8184e607 dcb9868893a4acd 6094d0dc35b 7ccce021d87e3b9 d40d1e5778)
Signed-off-by: Richard Mansfield <email address hidden>
(cherry picked from commit e29f0a133e2e7c2