mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #43328
[Bug 1705368] Re: Warning when adding multiple users via csv
I can't replicate the issue. When I use the file on my master or the
latest file, I can create users without getting an error message.
Can you please try with a clean Mahara instance and the latest new user
file found in the Behat directory of Mahara master?
I created bug #1705866 for the country field as that is a separate
issue.
** Changed in: mahara
Status: New => Incomplete
--
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/1705368
Title:
Warning when adding multiple users via csv
Status in Mahara:
Incomplete
Bug description:
Steps to Reproduce:
1) login as a admin and navigate to administration menu>Users> Add users by CSV
2) Choose an Institution
3) Choose a file which has multiple users in it ( I have used the 1000 users file from this https://reviews.mahara.org/#/c/7880/ )
4) Click on Add users by CSV
Result: A warning message is displayed as follows
[WAR] 3a (admin/users/uploadcsv.php:581) Undefined property:
stdClass::$password
Call stack (most recent first):
log_message("Undefined property: stdClass::$password", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/admin/users...", 581) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521
error(8, "Undefined property: stdClass::$password", "/home/niranjanbandi/code/mahara/htdocs/admin/users...", 581, array(size 27)) at /home/niranjanbandi/code/mahara/htdocs/admin/users/uploadcsv.php:581
uploadcsv_submit(object(Pieform), array(size 19)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:543
Pieform->__construct(array(size 4)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
Pieform::process(array(size 4)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4838
pieform(array(size 4)) at /home/niranjanbandi/code/mahara/htdocs/admin/users/uploadcsv.php:632
5) Now again try to upload some more users which have country field
6) Enable Update users
7) Click on Add users by CSV
Result: cannot find the country field( optionla fields added in csv
field) showing up for the users added second time
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1705368/+subscriptions
References