Richard and I had a discussion about the behavior of the button, and it is actually always supposed to copy the page into a person's portfolio. It should never have copied the page into the group.
Thus, the "Copy page" button on the group homepage means "Copy page to your portfolio". When you see it on the "Pages" tab, you also copy the page into your portfolio because you only see the "Copy page" button when you do not have add / edit permissions. When you do have add / edit permissions, you see the "Copy a page" button next to "Create a page" button and that creates a group page. On the homepage you still see the "Copy page" button and should be able to copy the page into your personal portfolio and not as page into the group. ** Summary changed: - Copying page from the group homepage creates error + "Copy page" button on group homepage to always copy page into personal portfolio -- 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp