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

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

Github user jburwell commented on the issue:

    https://github.com/apache/cloudstack/pull/1798
  
    @marcaurele there appear to be Travis failures.  Could you please check 
into them?


> 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)

Reply via email to