Marc-Aurèle Brothier created CLOUDSTACK-9631:
------------------------------------------------
Summary: 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)