Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9AC12189D4 for ; Tue, 19 Jan 2016 16:49:40 +0000 (UTC) Received: (qmail 14457 invoked by uid 500); 19 Jan 2016 16:49:40 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 14417 invoked by uid 500); 19 Jan 2016 16:49:40 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 14399 invoked by uid 500); 19 Jan 2016 16:49:40 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 14394 invoked by uid 99); 19 Jan 2016 16:49:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2016 16:49:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0626C2C1F57 for ; Tue, 19 Jan 2016 16:49:40 +0000 (UTC) Date: Tue, 19 Jan 2016 16:49:40 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9132) API createVolume takes empty string for name parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106988#comment-15106988 ] ASF subversion and git services commented on CLOUDSTACK-9132: ------------------------------------------------------------- Commit 55f8b32aa00baf0609f54891230269ed97bedb5a in cloudstack's branch refs/heads/master from [~nitin.maharana] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=55f8b32 ] CLOUDSTACK-9132: API createVolume takes empty string for name parameter Added conditions to check if the name is empty or blank. If it is empty or blank, then it generates a random name. Made the name field as optional in UI as well as in API. Added required unit tests. > API createVolume takes empty string for name parameter > ------------------------------------------------------ > > Key: CLOUDSTACK-9132 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9132 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: API > Reporter: Nitin Kumar Maharana > > Steps to Reproduce: > ================ > Create a volume using createVolume API where parameter name is empty. > It creates a volume with empty name. > But the name parameter is mandatory.(Issue) > Expected Behaviour: > ================ > It shouldn't create a volume with an empty name. Error should be returned. -- This message was sent by Atlassian JIRA (v6.3.4#6332)