views with navigations to other collections insight are not accessible after deleting the collections

Bug #801844 reported by Michael Wuttke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Medium
Unassigned

Bug Description

Mahara v1.4.0

Linux 2.6.26
PHP 5.2.6
Apache-Server 2.2.9
Postgresql-Server 8.4
(tested with firefox 5 & Opera 10)

If I have multiple views and have created more then one collection and have added a navigation to a view of one collection just for linking to the views of an other collection it works fine. But if I am deleting the collections - for restructuring for example - without deleteing the navigations before the views with the navigation/link to an other collection insight are not accessible anymore. An error is shown instead of the view.

Is it possible to be asked to delete the navigation to an other collection in a view before I am deleting a collection?

Chears,
michael

Changed in mahara:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Michael Wuttke (wuttke-berlin) wrote :

Hello François,

I have tried the same (creating multiple views, collections and
navigations with links to other collections/views and deleting these
collections afterwards) with the mahara version 1.3.6. But with this
version it shows me correctly that there is no collection or view: "None
that you can see :("

Maybe it helps.

Thank you for help,
michael

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/563
Committed: http://gitorious.org/mahara/mahara/commit/d90ebec234b17b7185d696c3ff42f5037b8e3513
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit d90ebec234b17b7185d696c3ff42f5037b8e3513
Author: Richard Mansfield <email address hidden>
Date: Fri Aug 5 11:42:18 2011 +1200

    Delete navigation blocks with their collections (bug #801844, bug #813204)

    When a collection is deleted, also delete all the navigation blocks
    in the collection's views which point at the deleted collection.

    Change-Id: I0aa1f51d2ee92434278b8fb0ad2700f8c9a63a61
    Signed-off-by: Richard Mansfield <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.