You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (JIRA)" <ji...@apache.org> on 2018/01/26 17:29:00 UTC
[jira] [Commented] (AIRAVATA-2653) Can't add optional input files
to cloned experiment that didn't initially have optional input files
[ https://issues.apache.org/jira/browse/AIRAVATA-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341320#comment-16341320 ]
Marcus Christie commented on AIRAVATA-2653:
-------------------------------------------
From looking at the code, this looks like a backend bug, see
[https://github.com/apache/airavata/blob/master/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java#L651]
This only updates inputs, it doesn't add new ones (or remove deleted ones).
My guess is that this would affect non-cloned experiments too. I would expect you can reproduce this bug if you:
* create a new experiment for an application that can have optional input files
* don't add any optional input files to it
* save it
* edit it
* add an optional input file to it
* save it
> Can't add optional input files to cloned experiment that didn't initially have optional input files
> ---------------------------------------------------------------------------------------------------
>
> Key: AIRAVATA-2653
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2653
> Project: Airavata
> Issue Type: Bug
> Components: PGA PHP Web Gateway
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> *Steps to reproduce:*
> 1. Create an experiment for an application that can have optional input files (for example, Gamess). *But don't add any optional input files*. Save the experiment.
> 2. Clone the experiment.
> 3. Edit the cloned experiment. Add an optional input file to it.
> 4. Save the cloned experiment.
> *Expected results:*
> Cloned experiment should now have an optional input file.
> *Actual results:*
> Cloned experiment doesn't have the optional input file. It isn't displayed in the experiment summary, but it is listed in storage so it did get uploaded.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)