Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-6582

Replacement of parameters with similar argument names in a custom element with external tool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: 33
    • Component/s: Workflow
    • Labels:

      Description

      Scenario 1:

      1. Open the WD.
      2. Create an element with external tool.
        • On the "Parameters" page of the element configuration wizard add three parameter with "Argument name" set to "param", "param2", "param3".
        • On the "Command" page paste the following command:
          %TOOL_PATH% $param $param2 $param3
          
      3. Set up different values for the created parameters.
      4. Run a workflow with the created element.
      5. Check the execution string.
        Current result: $param, $param2 and $param3 were replaced by the value, specified for "param".
        Expected result:
        • $param was replaced by the value specified for "param".
        • $param2 was replaced by the value specified for "param2".
        • $param3 was replaced by the value specified for "param3".

      Scenario 2:

      1. Open the WD.
      2. Create an element with external tool.
        • On the "Parameters" page of the element configuration wizard add three parameter with "Argument name" set to "param", "param2", "param3".
        • On the "Command" page paste the following command:
          %TOOL_PATH% -a $param -b $param2 -c $param3
          
      3. Set up different values for the created parameters.
      4. Run a workflow with the created element.
      5. Check the execution string.
        Current result: there is only -a -b -c without parameter values in the execution string.
        Expected result:
        • $param was replaced by the value specified for "param".
        • $param2 was replaced by the value specified for "param2".
        • $param3 was replaced by the value specified for "param3".

        Attachments

          Activity

            People

            Assignee:
            ichebykin Igor Chebykin
            Reporter:
            kir Kirill Rasputin
            Assigned Tester:
            Kirill Rasputin
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: