Closed (cannot reproduce)
Project:
Drupal core
Version:
8.0.x-dev
Component:
dblog.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Feb 2010 at 03:02 UTC
Updated:
17 Apr 2015 at 15:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
catchI think the idea is that people can completely remove their accounts from the system, but since logs get cleared by cron, and contrib could add this hook, I agree it's madness doing it like this. Also clearing watchdog logs can be an expensive operation if there's a lot of rows so best left for cron.
Patch looks great, needs a testbot (or manual) run before commit.
Comment #2
jbrown commentedI totally agree.
Comment #3
dries commentedCommitted to CVS HEAD. Thanks!
Comment #4
berdirPoor tests... everyone is forgetting these :) The attached page removes the tests that test this.
Another thing I noticed: Those events then show up as Anonymous, but link to the profile page of the deleted user. Maybe we should add something like "Deleted user (uid: 27)" instead?
Not covered by the patch, we need to get HEAD to pass again first :)
Comment #5
berdirErm, with patch this time.
Comment #6
webchickOopsie. :P
Committed to HEAD.
Comment #7
jbrown commentedI implemented the suggestion in #4.
Comment #8
ff1 commented#7: deleted_user.patch queued for re-testing.
Comment #9
neale.wolfson commentedLooks OK, but needs to match to code formatting standards (Curly brackets always and no empty lines with whitespace).
Needs a reroll for GIT.
This is still an issue in D8.
Comment #10
zaporylieThis is not an issue any more, at least I can't reproduce it. All eventual code standard problems will be solved in https://www.drupal.org/node/1518116