UGENE
  1. UGENE
  2. UGENE-6582

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

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • 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".

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Igor Chebykin
            Reporter:
            Kirill Rasputin
            Assigned Tester:
            Kirill Rasputin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile