mirror of https://github.com/apache/cloudstack.git
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:
parent
7531525252
commit
6435991086
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue