** Changed in: mahara/18.10
       Status: In Progress => Fix Committed

** Changed in: mahara/18.04
       Status: Confirmed => Fix Committed

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

Title:
  Setting up group when user is in 2 institutions and not site admin
  brings error

Status in Mahara:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed

Bug description:
  master (18.04RC1)

  When user is in two institutions but not the site admin, the following
  error message is displayed when she wants to set up a group:

  [WAR] 3e (lib/pieforms/pieform.php:1343) Invalid value for select 
"institution"
  Call stack (most recent first):

      log_message(string(size 38), integer, true, true, string(size 58), 
integer) at /home/kristina/code/mahara/htdocs/lib/errors.php:521
      error(integer, string(size 38), string(size 58), integer, array(size 2)) 
at Unknown:0
      trigger_error(string(size 38), integer) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:1343
      Pieform::info(string(size 38)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform/elements/select.php:151
      pieform_element_select(object(Pieform), array(size 10)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:1509
      Pieform->build_element_html(array(size 10)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:725
      Pieform->build() at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:169
      Pieform::process(array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/mahara.php:5077
      pieform(array(size 4)) at 
/home/kristina/code/mahara/htdocs/group/edit.php:424

  There is no error message when the user is in only one institution.

  To replicate:

  1. Make a user a member in 2 or more institutions.
  2. Go to Main menu -> Groups -> My groups.
  3. Click the "Create group" button.
  Expected result: No error message.
  Actual result: Above error message is displayed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1756631/+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