You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "David Reagan (JIRA)" <ji...@apache.org> on 2014/05/27 06:45:01 UTC

[jira] [Closed] (AIRAVATA-1277) createExperiment doesn't keep all supplied inputs

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

David Reagan closed AIRAVATA-1277.
----------------------------------

    Resolution: Invalid

Nevermind - I was giving each input the same key

> createExperiment doesn't keep all supplied inputs
> -------------------------------------------------
>
>                 Key: AIRAVATA-1277
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1277
>             Project: Airavata
>          Issue Type: Bug
>          Components: Airavata Client
>    Affects Versions: 0.12
>         Environment: PHP
>            Reporter: David Reagan
>
> If I create an experiment with multiple inputs, only the last input is saved. The experiment I submit looks like this:
> public 'experimentInputs' => 
>     array (size=3)
>       0 => 
>         object(Airavata\Model\Workspace\Experiment\DataObjectType)[10]
>           public 'key' => string 'input' (length=5)
>           public 'value' => string '../experimentData/uploadTest43db145d604cc5607bb51d735531aa12b/db_request_response.txt' (length=85)
>           public 'type' => int 2
>           public 'metaData' => null
>       1 => 
>         object(Airavata\Model\Workspace\Experiment\DataObjectType)[11]
>           public 'key' => string 'input' (length=5)
>           public 'value' => string '../experimentData/uploadTest43db145d604cc5607bb51d735531aa12b/multitouch_web_browser_links.txt' (length=94)
>           public 'type' => int 2
>           public 'metaData' => null
>       2 => 
>         object(Airavata\Model\Workspace\Experiment\DataObjectType)[12]
>           public 'key' => string 'input' (length=5)
>           public 'value' => string '../experimentData/uploadTest43db145d604cc5607bb51d735531aa12b/uploadTest.txt' (length=76)
>           public 'type' => int 2
>           public 'metaData' => null
> The result of getExperiment is this:
> public 'experimentInputs' => 
>     array (size=1)
>       0 => 
>         object(Airavata\Model\Workspace\Experiment\DataObjectType)[22]
>           public 'key' => string 'input' (length=5)
>           public 'value' => string '../experimentData/uploadTest43db145d604cc5607bb51d735531aa12b/uploadTest.txt' (length=76)
>           public 'type' => int 2
>           public 'metaData' => null



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