← Back to team overview

mahara-contributors team mailing list archive

[Bug 1212863] Re: Get errors when creating a group with cleanurls turned on

 

patch submitted https://reviews.mahara.org/#/c/2406/

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1212863

Title:
  Get errors when creating a group with cleanurls turned on

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  When creating a new group I get the following errors:

  [WAR] 2b (group/edit.php:473) Undefined index: urlid
  Call stack (most recent first):

      log_message("Undefined index: urlid", 8, true, true, "/var/www/myportfolio-school2-design-mahara/release...", 473) at /var/www/myportfolio-school2-design-mahara/releases/20130815015155/htdocs/lib/errors.php:446
      error(8, "Undefined index: urlid", "/var/www/myportfolio-school2-design-mahara/release...", 473, array(size 6)) at /var/www/myportfolio-school2-design-mahara/releases/20130815015155/htdocs/group/edit.php:473
      editgroup_submit(object(Pieform), array(size 26)) at Unknown:0
      call_user_func_array("editgroup_submit", array(size 2)) at /var/www/myportfolio-school2-design-mahara/releases/20130815015155/htdocs/lib/pieforms/pieform.php:528
      Pieform->__construct(array(size 4)) at /var/www/myportfolio-school2-design-mahara/releases/20130815015155/htdocs/lib/pieforms/pieform.php:170
      Pieform::process(array(size 4)) at /var/www/myportfolio-school2-design-mahara/releases/20130815015155/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 4)) at /var/www/myportfolio-school2-design-mahara/releases/20130815015155/htdocs/group/edit.php:390

  I also get: Group saved successfully

  I can edit the group fine also.

  To test:
  Activate cleanurls and make a new Group

  The problem stems from the fact on the initial save of a new group
  there is no id value set but the form field for urlid is not displayed
  until an id does exist.

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


References