Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-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 0F6821142F for ; Wed, 21 May 2014 13:40:39 +0000 (UTC) Received: (qmail 55733 invoked by uid 500); 21 May 2014 13:40:39 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 55695 invoked by uid 500); 21 May 2014 13:40:38 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 55687 invoked by uid 99); 21 May 2014 13:40:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 13:40:38 +0000 Date: Wed, 21 May 2014 13:40:38 +0000 (UTC) From: "Chathuri Wimalasena (JIRA)" To: dev@airavata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AIRAVATA-1246) getAllExperimentsInProject.php PHP script can be executed giving NULL, spaces and non-existing Project IDs 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/AIRAVATA-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chathuri Wimalasena reassigned AIRAVATA-1246: --------------------------------------------- Assignee: Chathuri Wimalasena > getAllExperimentsInProject.php PHP script can be executed giving NULL, spaces and non-existing Project IDs > ---------------------------------------------------------------------------------------------------------- > > Key: AIRAVATA-1246 > URL: https://issues.apache.org/jira/browse/AIRAVATA-1246 > Project: Airavata > Issue Type: Bug > Affects Versions: 0.12 > Reporter: Eroma > Assignee: Chathuri Wimalasena > > getAllExperimentsInProject.php PHP script can be executed giving NULL, spaces and non-existing Project IDs > For all above the output message is # of project experiments = 0 > The API should throw exceptions with a proper messages. > For non-existing Projects > Airavata System Exception: Project ID does not exist. > For NULL and spaces > Airavata System Exception: Please Enter Project ID -- This message was sent by Atlassian JIRA (v6.2#6252)