Comment 1 for bug 820180

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

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

commit 3f4ee9b1c957fe45e077bee8aed2c455e13e6842
Author: Richard Mansfield <email address hidden>
Date: Wed Aug 3 17:01:37 2011 +1200

    Generate new parent folder for each new view copied (bug #820180)

    Files copied during view copying were not dealt with correctly
    when more than one view was being copied in a single request.
    The copying process automatically creates a folder in which to
    put any files it needs to copy, but the id of this folder was
    declared as static, so it didn't work once copying of multiple
    views is allowed.

    There is a similar problem for blogs created during view copies
    (to hold copied blogposts). I'm not sure if there's a way to
    copy multiple views containing blogposts that need copying (it
    can't happen in institution views). But the default blog creation
    function is updated in this patch anyway.

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