Hi guys... We have run into a few issues with clients running DotNetNuke 5.1 where a user is deleted under Admin, User Accounts, but within queries and so forth that user doesn't exist (in some areas but not others). As anyone seen this? Here is an example...
Test against a DNN 4.8 installation and here is what happens.
1. User is deleted under Admin, User Accounts (lets assume the UserID is 500)
2. After deleting the user if you were to try the edit icon again you get a message 'This account doesn't exist'. The edit link would be similar to this.
http://www.yoursite.com/Admin/UserAccounts/tabid/42/ctl/Edit/mid/357/UserId/500/filter/data/filterproperty/Username/currentpage/1/language/en-US/Default.aspx
Now... Testing against a DNN 5.1 clean install.
1. User is deleted under Admin, User Accounts
2. After deleting the user, the user no longer appears in the list, however the user isn't completely deleted. If you were to click on the edit icon, you would be able to pull up the deleted user.
http://www.yoursite.com/Admin/UserAccounts/tabid/42/ctl/Edit/mid/357/UserId/500/filter/data/filterproperty/Username/currentpage/1/language/en-US/Default.aspx
This affects several modules that pull in users, but the fact that the URL still works and shows all previous user info of a deleted user doesn't matter. If you from there try and update the user or delete the user it won't work but the point is what changed and I don't think those edit links should work anymore for a deleted user.
So, I think its a bug within DNN that the user edit icon's still exist. I am guessing there is a new column for users (called IsDeleted) but even if that is the case the edit links shouldn't work anymore within DNN for that deleted user.
-Chad