mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #36263
[Bug 1600116] Re: Upload group csv picking up duplicate group shortnames too late
Should also improve the message that is thrown in the exception:
throw new UserException('group_create: The supplied shortname \'' .
$data['shortname'] . '\' is already in use. This shortname \'' .
$shortname . '\' is available.');
Instead of:
throw new UserException('group_create: problem with supplied shortname '
. $data['shortname'] . ' not matching allowed shortname ' . $shortname);
--
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:
New
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