← Back to team overview

mahara-contributors team mailing list archive

[Bug 1711485] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7937
Committed: https://git.mahara.org/mahara/mahara/commit/801b3308831d74a222507630ef1fec455ae41344
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 801b3308831d74a222507630ef1fec455ae41344
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Aug 18 14:28:00 2017 +1200

Bug 1711485: Throw correct error of group create

When the shortname is uppercase and we upload groups via csv

Also forcing shortname to be lowercase if editing group shortname

behatnotneeded

Change-Id: I85307b974be129dd2f22528cc0ce0802fe3d6080
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/1711485

Title:
  Group group_create() wrong error if shortname is not lowercase

Status in Mahara:
  In Progress

Bug description:
  If you try to create a group via csv with a non-lowecase shortname, eg
  'Cats' it complains:

  "group_create: The supplied shortname 'Cats' is already taken. This
  shortname 'cats' is available."

  It should do a different complaint, eg:

  "group_create: The supplied shortname 'Cats' needs to be lower-case,
  eg 'cats'."

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


References