engine/schema: fix findActiveAccountById in AccountDaoImpl.java#5704
Conversation
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 1768 |
|
cc @weizhouapache pl check for failures, I'll rekick pkging |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1780 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2585)
|
|
@weizhouapache code looks ok, but what is the sense of searching for a bunch of fields and the id. The id is unique so this search makes no sense to me. Do you know how it is used and why it is a bug there? |
@DaanHoogland cloudstack/engine/schema/src/main/java/com/cloud/user/dao/AccountDaoImpl.java Lines 199 to 203 in 85373e6 this method search records by id, but "id" is not supported in AllFieldsSearch. |
Ah, you are right. I was confusing |
|
Merged based on 2 approvals and trillian test result |
Description
This PR fixes an issue with findActiveAccountById in AccountDaoImpl.java
This method is used in some processes. The impact is unknown.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?