Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9631

updateVMAffinityGroup must require one of the list parameter

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              marcaurele Marc-Aurèle Brothier
              marcaurele Marc-Aurèle Brothier

              Dates

                Created:
                Updated:

                Slack

                  Issue deployment