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

updateVMAffinityGroup must require one of the list parameter

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      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

          Activity

            People

            • Assignee:
              marcaurele Marc-Aurèle Brothier
              Reporter:
              marcaurele Marc-Aurèle Brothier

              Dates

              • Created:
                Updated:

                Issue deployment