← Back to team overview

mahara-contributors team mailing list archive

[Bug 1410570] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4168
Committed: http://gitorious.org/mahara/mahara/commit/6c62fef16da4656dcc7f3517309c5fbe3c0df00f
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    master

commit 6c62fef16da4656dcc7f3517309c5fbe3c0df00f
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Jan 14 11:52:26 2015 +1300

Error in group creation for non admins (Bug #1410570)

Change-Id: Ic8759aa6541be740be88177dc4c16bf99000a77a
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/1410570

Title:
  Adding a group as non admin causes error

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Currently in master (15.04testing) a user can not create a group -
  they get this error:

  [WAR] eb (lib/form/elements/wysiwyg.php:87) Invalid argument supplied for foreach()
  Call stack (most recent first):

      log_message("Invalid argument supplied for foreach()", 8, true, true, "/home/robertl/htdocs/mahara-devel/mahara/htdocs/li...", 87) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:441
      error(2, "Invalid argument supplied for foreach()", "/home/robertl/htdocs/mahara-devel/mahara/htdocs/li...", 87, array(size 2)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/form/elements/wysiwyg.php:87
      pieform_element_wysiwyg_get_headdata(array(size 8)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/pieforms/pieform.php:1732
      pieform_get_headdata() at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/web.php:92
      smarty(array(size 0), array(size 0), array(size 0), array(size 1)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:576
      MaharaException->handle_exception() at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:467
      exception(object(AccessDeniedException)) at Unknown:0

  This is due to a commit 36bc9f7d26076d74ebc6cd0672441eed8ed9cd2d
  calling group_update on group creation

  Will fix up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1410570/+subscriptions


References