[
https://issues.apache.org/jira/browse/AIRAVATA-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009911#comment-17009911
]
Marcus Christie commented on AIRAVATA-3276:
-------------------------------------------
So there are still two related problem situations:
- when input is type URI and isRequired=true but it is hidden and not using the
"showOptions" "toggle" config, the Orchestrator will try but fail to create
input data staging tasks
- when input is any type and requiredToAddedToCommandLine=true and
isRequired=true but it is hidden and not using the "showOptions" "toggle"
config, then it will fail when adding command line options without values in
the Groovy job script generation
The workaround has been and continues to be to add the "showOptions" "toggle"
config, however, users need to remember to do this. It would be better if the
system would automatically handle these situations. Here are some possible
solutions:
- in the frontend, automatically add the following to the metadata of an input
when isRequired=true and "show" is configured
{code}
"showOptions": {
"toggle": [
"isRequired"
]
}
{code}
- in the backend, make the Orchestrator aware of hidden inputs and ignore them
when generating process inputs and input data staging tasks
> 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)