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-9631) updateVMAffinityGroup must require one of the list parameter
Date Fri, 02 Dec 2016 17:17:58 GMT

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

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

Github user rhtyd commented on the issue:

    https://github.com/apache/cloudstack/pull/1798
  
    @marcaurele  please push -f on the PR to re-kick travis, or close/open the PR


> updateVMAffinityGroup must require one of the list parameter
> ------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9631
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9631
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>            Reporter: Marc-Aurèle Brothier
>            Assignee: Marc-Aurèle Brothier
>
> The command updateVMAffinityGroup does not check that one of the parameter is provided,
therefore if both are null a NPE is raised later on in AffinityGroupServiceImpl (https://github.com/apache/cloudstack/blob/master/server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java#L429).
> The command should check both cases: both list are not given, and one is given.



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

Mime
View raw message