To replicate the first issue:

On a new site

1) Create some pages for a user and make sure you add some information
into description field for the page that includes embedding an image via
tinymce image button.

2) Add the pages to a collection

3) Create a group

4) Share the collection to the group and make the collection copyable

5) Go into the group and go to collection and try to copy the user's
collection into the group

You should get a blank page and the PHP Fatal error: Call to undefined
function artefact_get_references_in_html() in the error log.

-- 
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

_______________________________________________
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

Reply via email to