Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
0.12
-
None
-
None
-
PHP
Description
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