weizhouapache commented on code in PR #14150:
URL: https://github.com/apache/cloudstack/pull/14150#discussion_r4375914430


##########
server/src/main/java/com/cloud/projects/ProjectManagerImpl.java:
##########
@@ -449,7 +449,7 @@ public Boolean doInTransaction(TransactionStatus status) {
 
     @Override
     public boolean unassignAccountFromProject(long projectId, long accountId) {
-        ProjectAccountVO projectAccount = 
_projectAccountDao.findByProjectIdAccountId(projectId, accountId);
+        ProjectAccountVO projectAccount = 
_projectAccountDao.findByProjectIdUserId(projectId, accountId, null);

Review Comment:
   yes, but I am hesitated to do it, as it needs to be added to all upgrade 
files (4.20, 4.22, 24.0)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to