Closed (works as designed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2015 at 12:17 UTC
Updated:
10 Apr 2017 at 08:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
longwaveHow did you perform step 2? When you cancel an account you are given four options:
So what should happen is either the account will still exist (first two options), the content should belong the the anonymous user (third option), or the content will no longer exist (fourth option).
Also, what was the fatal error message you saw?
Comment #3
sasanikolic commentedI know, I tried reproducing it through UI, and saw those options.
I deleted the user via SQL query, without deleting it's referenced content. Solved the first error with a simple
but then there is another error in
seven.themewhen editing the node without a user. See the attached images.Comment #7
merilainen commentedI think this works as designed. If you do custom SQL queries and manage to get Drupal into a state where it gives you an error, then you can also implement custom code in hook_preprocess_node to handle that error. Unless you can make that error happen without custom code, then this works as designed.