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

Marcus Christie commented on AIRAVATA-3276:
-------------------------------------------

Another way to handle {{requiredToAddedToCommandLine}} is in the backend. When 
an unrequired input has requiredToAddedToCommandLine=true but has no value 
(either null or empty string), then it shouldn't be added to the command line. 
This is a capability that we don't yet have in the backend but is one that we 
want even when not working with dependent application inputs.

This would require the UI to null out input values that are not shown before 
saving the experiment. I'm not sure if that is happening now or not. I think 
currently the value is kept on the Experiment model so that if it hides and 
then shows again it will show with the same value as previously.

> BUG: non uploaded files argument appears in command-line in job script
> ----------------------------------------------------------------------
>
>                 Key: AIRAVATA-3276
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3276
>             Project: Airavata
>          Issue Type: Sub-task
>          Components: Django Portal
>    Affects Versions: 0.18
>         Environment: https://seagrid.org/
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>             Fix For: 0.19
>
>
> 1. Created new application ABAQUS-6.14-1
> 2. In this application a file need to be uploaded as optional file.
> 3. This particular input also has an argument.
> 4. When the file is not uploaded the argument appears in command-line without 
> the file.
> 5. The argument should only appear with the filename when the file is 
> uploaded.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to