cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9174) Quota Service: When a account/user is deleted with low quota, quota service still tries to alert the user resulting in NPE
Date Wed, 06 Apr 2016 20:35:25 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229049#comment-15229049
] 

ASF GitHub Bot commented on CLOUDSTACK-9174:
--------------------------------------------

Github user swill commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1254#discussion_r58776967
  
    --- Diff: plugins/database/quota/src/org/apache/cloudstack/api/command/QuotaSummaryCmd.java
---
    @@ -59,7 +59,7 @@ public QuotaSummaryCmd() {
         public void execute() {
             Account caller = CallContext.current().getCallingAccount();
             List<QuotaSummaryResponse> responses;
    -        if (caller.getAccountId() <= 2) { //non root admin or system
    +        if (caller.getType() == Account.ACCOUNT_TYPE_ADMIN) { //admin account
    --- End diff --
    
    This went from valid entries of 1 or 2 to only 1.  This is an intentional change?


> Quota Service: When a account/user is deleted with low quota, quota service still tries
to alert the user resulting in NPE
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9174
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9174
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.7.0
>            Reporter: Abhinandan Prateek
>            Assignee: Abhinandan Prateek
>            Priority: Critical
>             Fix For: 4.8.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message