Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.6.7, 1.7.5, 1.8.5, 1.9.2
-
Fix Version/s: None
-
Component/s: Administration
-
Labels:None
-
Affected Branches:MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Description
When a user is deleted, the deleted flag is set to 1, email and idnumber fields are emptied, whereas username field is replaced with the email address which has a seconds stamp added. Why is the email address saved in the username field? It would seem more logical that username is appended with a seconds stamp to make it unique. When users is undeleted, then one would need only to remove the seconds und clear the deleted flag. If email should be saved, then it should be kept in the email field with a seconds stamp appended, shouldn't it?
Issue Links
| This issue will be resolved by: | ||||
| MDL-16838 | Administration: Loss of user data during delete |
|
|
|
Hi Robert,
I'm closing this in favour of MDL-16838, where this problem and possible solutions are being discussed with proposed patches and so on.
Thanks and ciao