Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-16647

When user is deleted, the username is lost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 1.6.7, 1.7.5, 1.8.5, 1.9.2
    • Administration
    • None
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      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?

            stronk7 Eloy Lafuente (stronk7)
            robek Robert Brenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.