Allow user csv upload to ignore non-essential mandatory fields

Bug #1322387 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Robert Lyon

Bug Description

Sometimes you add some users but you don't know all the information about them - you are wanting them to fill in the missing info when they first log in.

So you make a bunch of profile field mandatory in Extensions -> profile ->configuration

But the next time you try to add some more users via the csv upload file it complains a field is missing.

So you have to uncheck the mandatory fields that are missing and then upload the csv file then tick the mandatory fields back on again.

Too many clicks!!!

So I propose having on the upload csv page a checkbox 'Ignore mandatory fields' so when ticked it ignores any non-essential fields (like username) and allows the upload to proceed.

Note: need to do this for a client

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 1.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/3378

Revision history for this message
Robert Lyon (robertl-9) wrote :

I've changed it so that non essential mandatory fields are ingored during csv upload by default (no need for a checkbox to do this).

Only 'username', 'email', 'first name', 'last name', (and 'password' on user creation rather than user update) are mandatory now.

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

Reviewed: https://reviews.mahara.org/3378
Committed: http://gitorious.org/mahara/mahara/commit/2693c9392f315876b3f2658b1d4c74bcd35d7432
Submitter: Ghada El-Zoghbi (<email address hidden>)
Branch: master

commit 2693c9392f315876b3f2658b1d4c74bcd35d7432
Author: Robert Lyon <email address hidden>
Date: Fri May 23 12:00:29 2014 +1200

'Add users by csv' to ignore non-essential mandatory fields (Bug #1322387)

Sometimes you just don't have all the data when you are adding users via
csv but you have enough to create a user. So will remove the checking
of mandatory fields - to be in line with 'Add user' page.

Change-Id: I2e2758e6cc82483f0c4c7899fd1bab049c052b8f
Signed-off-by: Robert Lyon <email address hidden>

tags: added: nominatedfeature
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.