Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3254 Bugs & Improvements post Django Rollout Day
  3. AIRAVATA-3276

BUG: non uploaded files argument appears in command-line in job script

    XMLWordPrintableJSON

Details

    Description

      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.

      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
        {"showOptions": {"isRequired": true}}

        with data migration

        • need backwards compatibility with old schema in code

      Production rollout

      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

      {"showOptions": {"isRequired": true}}
      

      to the JSON configuration for a dependent input.

      Attachments

        Activity

          People

            akbranam Anna Branam
            eroma_a Eroma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: