Bug #3768
closedCSV - delete users never processed
100%
Description
CSV files with the action delete user is not processed. It's mainly for testing purposes: the users have not been active in the system, aren't linked to a course and have still an empty repository.
Manually deleting users is not a problem, but rather time consuming when we have to delete over 20.000 users.
See CSV attached.
Files
Updated by dominique de guchtenaere about 12 years ago
I should have posted this under Admin
Updated by Anonymous about 12 years ago
- Status changed from New to Needs testing
- Assignee set to Anonymous
- % Done changed from 0 to 100
There is an error in the CSV you uploaded (first string isn't read well), that causes always to use the default action (add). When I open the CSV and export it again in Excel, the deleting works.
Updated by dominique de guchtenaere about 12 years ago
- File add_studenten.csv add_studenten.csv added
- File delete_studenten.csv delete_studenten.csv added
- Status changed from Needs testing to Needs more info
I still can't delete users. Can you indicate the error in the CSV? It's the same one as the CSV for adding users, the only difference is the action.
Both files attached.
Updated by Anonymous about 12 years ago
- File delete.csv delete.csv added
It's not a visible error but the first string (word) of all your CSV files is read as "action". Because no "action" is found, always the default one is chosen (add). That's why adding works but deleting doesn't.
The attached file is the CSV I get when resaving your file and it works.
Updated by dominique de guchtenaere about 12 years ago
- Status changed from Needs more info to Feature implemented
it works! Thanks