← Back to team overview

mahara-contributors team mailing list archive

[Bug 1012924] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1355
Committed: http://gitorious.org/mahara/mahara/commit/0f8e56d38459cc5e055a659c2270b51a27fa99f8
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch:    master

commit 0f8e56d38459cc5e055a659c2270b51a27fa99f8
Author: Liuba Kazakov <liuba@xxxxxxxxxxxxxxx>
Date:   Tue Jun 19 08:37:27 2012 +1000

    Bug#1012924: 'Copy page' should always copy to user's
    
    portfolio not group pages
    
    Change-Id: Id056d644afc3645fc781023336bf4ac3c1aff489
    Signed-off-by: Liuba Kazakov <liuba@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1012924

Title:
  "Copy page" button on group homepage to always copy page into personal
  portfolio

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When you are a member of a group and do not have page adding/editing
  privileges, but you click on the "Copy page" button on the group
  homepage, you get an error message and "Site unavailable".

  ----
  [WAR] 5d (lib/view.php:386) View::_create: User 6 is not permitted to create a view for group 2
  Call stack (most recent first):

      View::_create(array(size 6), "6") at /home/kristina/code/16stable/htdocs/lib/view.php:253
      View::create_from_template(array(size 6), 52) at /home/kristina/code/16stable/htdocs/lib/view.php:4325
      createview_submit(object(Pieform), array(size 6)) at Unknown:0
      call_user_func_array("createview_submit", array(size 2)) at /home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:512
      Pieform->__construct(array(size 7)) at /home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:161
      Pieform::process(array(size 7)) at /home/kristina/code/16stable/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 7)) at /home/kristina/code/16stable/htdocs/blocktype/groupviews/lib.php:146
      PluginBlocktypeGroupViews::get_data("2") at /home/kristina/code/16stable/htdocs/blocktype/groupviews/lib.php:71
      PluginBlocktypeGroupViews::render_instance(object(BlockInstance)) at Unknown:0
      call_user_func_array(array(size 2), array(size 1)) at /home/kristina/code/16stable/htdocs/lib/mahara.php:1351
      call_static_method("PluginBlocktypeGroupviews", "render_instance", object(BlockInstance)) at /home/kristina/code/16stable/htdocs/blocktype/lib.php:720
      BlockInstance->render_viewing() at /home/kristina/code/16stable/htdocs/lib/view.php:1538
      View->build_column(1, false) at /home/kristina/code/16stable/htdocs/lib/view.php:1506
      View->build_columns() at /home/kristina/code/16stable/htdocs/group/view.php:82

  ----

  When you try the same from the "Pages" tab, you can copy the page just
  fine into your own portfolio.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1012924/+subscriptions


References