-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.3, 3.1, 3.1.3, 3.2
-
MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-55062_master -
The admin tool upload users https://docs.moodle.org/30/en/Upload_users, updates the authentication method for existing users, even when the selected options should not allow it to.
How to reproduce:
Create test users using following CSV file:
username,firstname,lastname,email,auth
|
test.account1,Test,Account1,test1@example.com,nologin
|
test.account2,Test,Account2,test2@example.com,nologin
|
Update the same users using following file (same file removed auth column)
username,firstname,lastname,email
|
test.account1,Test,Account1,test1@example.com
|
test.account2,Test,Account2,test2@example.com
|
Change the following options:
Upload type: Add new and update existing users
Existing user details: Override with file
Result:
Authentication method changed nologin-->manual
Expected result:
Authentication method remains nologin.
Since the auth column is omitted from the uploaded CSV file and the selected option for Existing user details is "Override with file". I expect that it will not change.