[
https://issues.apache.org/jira/browse/AIRAVATA-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009893#comment-17009893
]
Marcus Christie commented on AIRAVATA-3276:
-------------------------------------------
I tested and the frontend already nulls out the value of a hidden input when
saving. So if a input has requiredToAddedToCommandLine=true and
isRequired=false but it isn't shown, then its value will be null when saved and
launched. Dimuthu has updated the backend so that when an input has
requiredToAddedToCommandLine=true and isRequired=false and value is null or
empty, then it isn't added to the command line.
> 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)