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>
Reviewed: https:/ /reviews. mahara. org/559 gitorious. org/mahara/ mahara/ commit/ 3f4ee9b1c957fe4 5e077bee8aed2c4 55e13e6842
Committed: http://
Submitter: Hugh Davenport (<email address hidden>)
Branch: master
commit 3f4ee9b1c957fe4 5e077bee8aed2c4 55e13e6842
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: Id8ea2504772f49 ce8f301cfc19d41 ba20b587e9d
Signed-off-by: Richard Mansfield <email address hidden>