Navigation blocks not updated during collection copy

Bug #898923 reported by Richard Mansfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Richard Mansfield

Bug Description

Navigation blocks are not updated during collection copying. After copying, they still navigate the original collection rather than the copy. They should be updated if they point to the collection being copied.

If nav blocks point to some collection other than the one being copied, there's not a lot we can do to update them. They could be deleted during the copy, but I think it's best to just leave them pointing at the original.

Revision history for this message
François Marier (fmarier) wrote :

Given that this was added in 1.5 (bug #783345), it can go straight to "fix released" when it's done.

tags: added: collections copy
Changed in mahara:
milestone: 1.5.0 → none
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/911
Committed: http://gitorious.org/mahara/mahara/commit/480b38d4455c70d612613494ac12a0cfea1130a7
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit 480b38d4455c70d612613494ac12a0cfea1130a7
Author: Richard Mansfield <email address hidden>
Date: Fri Dec 2 15:30:04 2011 +1300

    Update navigation blocks when copying collections (bug #898923)

    When copying a collection, navigation blocks in the copied pages
    should be updated to point at the new copy of the collection.

    After all the pages are copied, all the newly copied navigation blocks
    are examined to see if they navigate the collection being copied. If
    so, they are updated to navigate the new copy of the collection. When
    a navigation block points at some collection other than the one being
    copied, it is left alone.

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

Changed in mahara:
milestone: none → 1.5.0
milestone: 1.5.0 → none
status: In Progress → Fix Released
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.