← Back to team overview

mahara-contributors team mailing list archive

[Bug 1622383] Re: Problems copying group collections to and from groups

 

This problem stems from not having all libraries included by default on
all pages

So we need to require them where actually needed.

-- 
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:
  In Progress
Status in Mahara 15.04 series:
  New
Status in Mahara 15.10 series:
  New
Status in Mahara 16.04 series:
  New
Status in Mahara 16.10 series:
  In Progress

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