bug 6782: somehow in my testing I missed this exception when creating the event for USER_DELETE. The change is to get the userAccount by 'idIncludingRemoved' just like getting the account. The proper userAccount object is returned and the event is successfully created.

status 6782: resolved fixed
This commit is contained in:
Kris McQueen 2010-10-28 14:32:02 -07:00
parent 7531525252
commit 6435991086
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ public class ManagementServerImpl implements ManagementServer {
}
accountId = user.getAccountId();
userAccount = _userAccountDao.findById(userId);
userAccount = _userAccountDao.findByIdIncludingRemoved(userId);
List<UserVO> users = _userDao.listByAccount(accountId);
if (users.size() != 0) {