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

ASF subversion and git services commented on AIRAVATA-3276:
-----------------------------------------------------------

Commit 1e50e23b7f27460c3083954ec797f98d6d0f02a4 in airavata-django-portal's 
branch refs/heads/develop from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=1e50e23 ]

AIRAVATA-3276 Update comment


> 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.
> h3. TODO
> - (/) Update backend to ignore inputs with requiredToAddedToCommandLine=true 
> when value is null or empty and isRequired=false 
> - (/) Automatically add "showOptions" configuration for toggling isRequired 
> - (/) Change "showOptions" metadata to {noformat}{"showOptions": 
> {"isRequired": true}}{noformat} with data migration
> -- need backwards compatibility with old schema in code
> h3. Production rollout
> - deploy backend changes - 
> https://github.com/apache/airavata/tree/airavata-3276
> - deploy frontend changes - 
> https://github.com/apache/airavata-django-portal/tree/AIRAVATA-3276--BUG--non-uploaded-files-argument-appears-in-command-line-in-job-script
> - run data migration script for frontend changes
> h3. Summary
> With these changes in place, admins no longer need to add special 
> configuration for dependent inputs that have isRequired=true or 
> requiredToAddedToCommandLine=true. The application interface editor will 
> automatically add {noformat}
> {"showOptions": {"isRequired": true}}
> {noformat}
> to the JSON configuration for a dependent input.



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

Reply via email to