← Back to team overview

mahara-contributors team mailing list archive

[Bug 1622383] A change has been merged

 

Reviewed:  https://reviews.mahara.org/6953
Committed: https://git.mahara.org/mahara/mahara/commit/ae69c7dad1b277e7d12109e5ed08d0c7a0e3ecea
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit ae69c7dad1b277e7d12109e5ed08d0c7a0e3ecea
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>

-- 
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:
  In Progress
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


References