Do NOT delete a user that has articles assigned to him/her

Do NOT delete a user that has articles assigned to him/her

Postby Mischa on Sat Sep 14, 2013 4:23 pm

I had some disabled users, disabled because they no longer wanted to log in and write - but they had old articles.

When doing the regular cleanup of temp files and spam in Admin - I accidentally clicked Cleanup users - BAD idea!
Disabled users got deleted, and no longer could LT display articles by that user! (especially when trying to display their articles with .../user/[username] and blog pages [.../page/x] containing articles they had written)

I would have liked to be warned or stopped when I tried to delete disabled user that still had articles...
Luckily, I could re-create the users in PHPMyadmin, finally I got the userID right, and I am still alive :geek:
Using lifetype-1.2.12 pretty standard config
Mischa
 
Posts: 39
Joined: Fri Jun 20, 2008 9:27 am
Location: Åland Islands
LifeType Version: 1.2.12

Re: Do NOT delete a user that has articles assigned to him/h

Postby jondaley on Tue Sep 17, 2013 2:44 pm

This will be kept track of if you add a bug report. Probably we should do what Drupal does and offer to switch the articles to be owned by someone else, or erase the articles, etc. The erasing/purging content isn't perfect in LifeType...
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Re: Do NOT delete a user that has articles assigned to him/h

Postby Mischa on Tue Sep 17, 2013 3:26 pm

Reported in Mantis bugsystem.
http://bugs.lifetype.net/view.php?id=1683
Using lifetype-1.2.12 pretty standard config
Mischa
 
Posts: 39
Joined: Fri Jun 20, 2008 9:27 am
Location: Åland Islands
LifeType Version: 1.2.12


Return to Other Problems

cron