← Back to team overview

mahara-contributors team mailing list archive

[Bug 1600116] A change has been merged

 

Reviewed:  https://reviews.mahara.org/6682
Committed: https://git.mahara.org/mahara/mahara/commit/7c5263b5f86873e0faf5ee800d273bc6c44c7793
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 7c5263b5f86873e0faf5ee800d273bc6c44c7793
Author: Ghada El-Zoghbi <ghada@xxxxxxxxxxxxxxx>
Date:   Fri Jul 8 16:37:48 2016 +1000

Bug 1600116: Validate group shortname across all institutions.

Validate that the group shortname is unique across all institutions
instead of just the institution that is being processed.

Make sure the mandatory fields (shortname, displayname, roles)
in the upload csv are not empty as the group shortname validation
relies on the display name.

Also, improve the error message thrown during the submit when
the groupname is not unique.

behatnotneeded

Change-Id: I23278de9bb52f1289535924f1accf3fcb9d559ce

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

Title:
  Upload group csv picking up duplicate group shortnames too late

Status in Mahara:
  Fix Committed

Bug description:
  Mahara: master
  OS: Linux
  Browser: Firefox
  DB: Postgres

  When users upload a csv for new groups (for their institution), it's
  not catching the shortname is already in used in other institutions
  until the submit function. Which then fires off an exception.

  It should be picking up the validation in the validate function.

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


References