airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saminda Wijeratne (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (AIRAVATA-1142) getAllExperimentsInProject throws exeption instead of empty result
Date Wed, 23 Apr 2014 21:02:19 GMT

     [ https://issues.apache.org/jira/browse/AIRAVATA-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Saminda Wijeratne reopened AIRAVATA-1142:
-----------------------------------------


As for an offline discussion we decided to return proper exception instead when a project
doesn't exist. Reopening this JIRA until this is fixed.

> getAllExperimentsInProject throws exeption instead of empty result
> ------------------------------------------------------------------
>
>                 Key: AIRAVATA-1142
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1142
>             Project: Airavata
>          Issue Type: Bug
>          Components: Airavata Client
>    Affects Versions: 0.12
>         Environment: PHP Java
>            Reporter: David Reagan
>             Fix For: 0.12
>
>
> If you ask for a project that doesn't exist, an AiravataSystemException is thrown instead
of returning an empty array.
> Fatal error: Uncaught exception 'Airavata\API\Error\AiravataSystemException' in C:\wamp\www\Airavata-PHP-Client-Samples\lib\Airavata\API\Airavata.php
on line 2280



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message