Comment 2 for bug 813204

Revision history for this message
Hugh Davenport (hugh-davenport) wrote : Cannot edit a page with a navigation block pointing at a deleted collection

Code looks fine, will verify later today if I get the chance

On 20/07/11 10:59, Richard Mansfield wrote:
> 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
>