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

updateVMAffinityGroup must require one of the list parameter

    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
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: