mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #05399
[Bug 813204] Re: Cannot edit a page with a navigation block pointing at a deleted collection
Argh, I accidentally pushed this patch straight to refs/heads/master, so
it didn't go through gerrit and missed out on being reviewed:
https://gitorious.org/mahara/mahara/commit/e29f0a133e2e7c27ccce021d87e3b9d40d1e5778
If anyone gets a chance, please have a look at it.
It'd also be a good idea to do the right thing and delete navigation
blocks when their collection is deleted. It's probably an expensive
operation though; the collection id is stored in a serialised blob, so
perhaps a cron cleanup is the way to go.
** Changed in: mahara
Status: Confirmed => Fix Committed
** Changed in: mahara
Milestone: None => 1.5.0
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/813204
Title:
Cannot edit a page with a navigation block pointing at a deleted
collection
Status in Mahara ePortfolio:
Fix Committed
Bug description:
If you include a navigation block on a page, then delete the
collection which the block refers to, you can no longer view or edit
the page.
http://mahara.org/interaction/forum/topic.php?id=3866
We should just display an empty block rather than throwing the error
described in that post.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/813204/+subscriptions
Follow ups
References