Error updating institution settings

Bug #1955364 reported by Dianne Tennent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Dianne Tennent

Bug Description

On branch main, Firefox, docker, postgres, ubuntu:

Error is related to this wishlist item:
https://reviews.mahara.org/#/c/12167/
https://bugs.launchpad.net/mahara/+bug/1947643

Steps to reproduce:
- Click the settings icons on /mahara/admin/users/institutions.php for 'No Institution'
- Click 'Submit' on the Edit institution page to save changes (don't need to make any changes)

Expected result:
 - Settings saved and return to list of institutions

Actual result:
- Error "Undefined index: maxuseraccounts" and "Undefined index: maxgroups"

See attached screenshot

Revision history for this message
Dianne Tennent (dianne-t) wrote :
description: updated
Changed in mahara:
milestone: none → 22.04.0
assignee: nobody → Dianne Tennent (dianne-t)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "main" branch: https://reviews.mahara.org/12359

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12359
Committed: https://git.mahara.org/mahara/mahara/commit/63a27c50c030f39bc6821822d0bc7437f80bb9da
Submitter: Robert Lyon (<email address hidden>)
Branch: main

commit 63a27c50c030f39bc6821822d0bc7437f80bb9da
Author: Dianne Tennent <email address hidden>
Date: Fri Jan 14 12:13:10 2022 +1300

Bug 1955364: Error updating institution settings

Remove check for maxgroups/accounts from No Institution

Change-Id: I1df775963b3745af4dc00b24e688dc2b3fb4e472

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers