This is an automated email from the ASF dual-hosted git repository.
bhaisaab pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/master by this push:
new 08a6c24 CLOUDSTACK-9990 : Fix for Account name is giving null in
event tab after successful creation of account (#2171)
08a6c24 is described below
commit 08a6c24efc3f8b834541edc5b789b9966918c117
Author: pavanaravapalli <[email protected]>
AuthorDate: Fri Jul 28 23:25:00 2017 +0530
CLOUDSTACK-9990 : Fix for Account name is giving null in event tab after
successful creation of account (#2171)
---
.../apache/cloudstack/api/command/admin/account/CreateAccountCmd.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/api/src/org/apache/cloudstack/api/command/admin/account/CreateAccountCmd.java
b/api/src/org/apache/cloudstack/api/command/admin/account/CreateAccountCmd.java
index 2e1fbd6..074df8d 100644
---
a/api/src/org/apache/cloudstack/api/command/admin/account/CreateAccountCmd.java
+++
b/api/src/org/apache/cloudstack/api/command/admin/account/CreateAccountCmd.java
@@ -184,7 +184,7 @@ public class CreateAccountCmd extends BaseCmd {
@Override
public void execute() {
validateParams();
- CallContext.current().setEventDetails("Account Name: " +
getAccountName() + ", Domain Id:" + getDomainId());
+ CallContext.current().setEventDetails("Account Name: " + getUsername()
+ ", Domain Id:" + getDomainId());
UserAccount userAccount =
_accountService.createUserAccount(getUsername(), getPassword(),
getFirstName(), getLastName(), getEmail(), getTimeZone(), getAccountName(),
getAccountType(), getRoleId(),
getDomainId(), getNetworkDomain(), getDetails(),
getAccountUUID(), getUserUUID());
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].