mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4022: listProjects - do searchIncludingRemoved when getting info of corresponding projectAccount because when the project is being removed, its account is marked as Removed first, but we might still want to retrieve its info
This commit is contained in:
parent
80e2934bb7
commit
4e53ce0677
|
|
@ -91,7 +91,7 @@ public class ProjectJoinDaoImpl extends GenericDaoBase<ProjectJoinVO, Long> impl
|
|||
}
|
||||
|
||||
//set resource limit/count information for the project (by getting the info of the project's account)
|
||||
Account account = _accountDao.findById(proj.getProjectAccountId());
|
||||
Account account = _accountDao.findByIdIncludingRemoved(proj.getProjectAccountId());
|
||||
AccountJoinVO accountJn = ApiDBUtils.newAccountView(account);
|
||||
_accountJoinDao.setResourceLimits(accountJn, false, response);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue