-
Bug
-
Resolution: Fixed
-
Critical
-
4.2 regressions, 4.3 regressions, 4.4.1
-
MOODLE_404_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
-
MOODLE_403_
MDL-82518 -
MOODLE_404_
MDL-82518 -
MOODLE_main_
MDL-82518 -
- Log in as administrator
- Create a user with usernam "123456" (without quotes)
- Edit the user and change it's username to 0123456
- Edit the user again and make sure it's username has changed
The issue MDL-80271 caused a regression.
It tests if attribute changed using != , but it should use !== , with two equal signs.
The current test fails if the username, for example, is numeric only. Inserting a username 0123 to create user will work, but if you then try to change the username to only 123, it will not work, because the test in the if condition will say it didn't change.
- is a regression caused by
-
MDL-80271 user_update_user always writes to database
-
- Closed
-