Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB9F310474 for ; Tue, 18 Nov 2014 06:38:26 +0000 (UTC) Received: (qmail 36011 invoked by uid 500); 18 Nov 2014 06:38:26 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 35964 invoked by uid 500); 18 Nov 2014 06:38:26 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 35953 invoked by uid 99); 18 Nov 2014 06:38:25 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2014 06:38:25 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 58DDB991BE0; Tue, 18 Nov 2014 06:38:25 +0000 (UTC) From: karuturi To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: CLOUDSTACK-7929: Unhandled exception when... Content-Type: text/plain Message-Id: <20141118063825.58DDB991BE0@tyr.zones.apache.org> Date: Tue, 18 Nov 2014 06:38:25 +0000 (UTC) Github user karuturi commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/40#discussion_r20487864 --- Diff: server/src/com/cloud/configuration/ConfigurationManagerImpl.java --- @@ -3723,6 +3723,10 @@ public NetworkOffering createNetworkOffering(CreateNetworkOfferingCmd cmd) { throw new InvalidParameterValueException("Invalid value for Availability. Supported types: " + Availability.Required + ", " + Availability.Optional); } + if (networkRate != null && networkRate < 0) { --- End diff -- is networkRate == null a valid value? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---