Reviewed: https://reviews.mahara.org/7050 Committed: https://git.mahara.org/mahara/mahara/commit/49ecee2a0a5abeb3e3a41a88de3ce44e801e26df Submitter: Robert Lyon (robe...@catalyst.net.nz) Branch: 16.04_STABLE
commit 49ecee2a0a5abeb3e3a41a88de3ce44e801e26df Author: Robert Lyon <robe...@catalyst.net.nz> Date: Mon Sep 12 08:32:52 2016 +1200 Bug 1622383: Copying collections to/from groups causes fatal error Because certain libraries are not loaded under some circumstances When copying a collection containing pages with descriptions containing embedded images to/from a group/user. behatnotneeded Change-Id: I1a5f4e3d2c26736b6e087cf07daa5fd44f84441f Signed-off-by: Robert Lyon <robe...@catalyst.net.nz> (cherry picked from commit ae69c7dad1b277e7d12109e5ed08d0c7a0e3ecea) (cherry picked from commit 095b5332c1a33036bbf1e49237ec2d8b495737d3) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1622383 Title: Problems copying group collections to and from groups Status in Mahara: Fix Committed Status in Mahara 16.04 series: Fix Committed Status in Mahara 16.10 series: Fix Committed Bug description: Issues found: PHP Fatal error: Call to undefined function artefact_get_references_in_html() htdocs/lib/view.php on line 5398 When user has a page in the collection has an embedded image in description and that collection is trying to be copied into a group. Needs a require once to get the artefact library included ----------------------- PHP Fatal error: Call to undefined function group_current_group() htdocs/collection/index.php on line 35 and on htdocs/collection/edit.php on line 53 When trying to create/edit a collection in a group Needs a require once to get the group library included ----------------------- PHP Fatal error: Call to undefined function group_homepage_url() htdocs/lib/view.php on line 6123 When trying to edit the access for the group collection Needs a require once to get the group library included To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1622383/+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