[ 
https://issues.apache.org/jira/browse/AIRAVATA-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978477#comment-13978477
 ] 

Saminda Wijeratne commented on AIRAVATA-1142:
---------------------------------------------

Small update: when an experiment is created the project associated is 
automatically added if it doesn't exist. Thus following the same pattern I 
updated the above function to return an empty experiment list  if the project 
does not exist.

> 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
>
> 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)

Reply via email to