You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Kenneth Bell (JIRA)" <ji...@apache.org> on 2012/10/06 16:01:05 UTC

[jira] [Created] (CLOUDSTACK-274) Two error codes mapped to same value in API

Kenneth Bell created CLOUDSTACK-274:
---------------------------------------

             Summary: Two error codes mapped to same value in API
                 Key: CLOUDSTACK-274
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-274
             Project: CloudStack
          Issue Type: Bug
          Components: API
    Affects Versions: pre-4.0.0
            Reporter: Kenneth Bell
            Priority: Minor


In BaseCmd.java, these error codes are defined:

    public static final int INTERNAL_ERROR = 530;
    public static final int ACCOUNT_ERROR = 531;
    public static final int ACCOUNT_RESOURCE_LIMIT_ERROR = 532;
    public static final int INSUFFICIENT_CAPACITY_ERROR = 533;
    public static final int RESOURCE_UNAVAILABLE_ERROR = 534;
    public static final int RESOURCE_ALLOCATION_ERROR = 534;
    public static final int RESOURCE_IN_USE_ERROR = 536;
    public static final int NETWORK_RULE_CONFLICT_ERROR = 537;

Note there are two values for 534, and none for 535 - looks like a copy & paste error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CLOUDSTACK-274) Two error codes mapped to same value in API

Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Huang updated CLOUDSTACK-274:
----------------------------------

    Fix Version/s: 4.1.0
    
> Two error codes mapped to same value in API
> -------------------------------------------
>
>                 Key: CLOUDSTACK-274
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-274
>             Project: CloudStack
>          Issue Type: Bug
>          Components: API
>    Affects Versions: pre-4.0.0
>            Reporter: Kenneth Bell
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> In BaseCmd.java, these error codes are defined:
>     public static final int INTERNAL_ERROR = 530;
>     public static final int ACCOUNT_ERROR = 531;
>     public static final int ACCOUNT_RESOURCE_LIMIT_ERROR = 532;
>     public static final int INSUFFICIENT_CAPACITY_ERROR = 533;
>     public static final int RESOURCE_UNAVAILABLE_ERROR = 534;
>     public static final int RESOURCE_ALLOCATION_ERROR = 534;
>     public static final int RESOURCE_IN_USE_ERROR = 536;
>     public static final int NETWORK_RULE_CONFLICT_ERROR = 537;
> Note there are two values for 534, and none for 535 - looks like a copy & paste error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira