[UGENE-6582] Replacement of parameters with similar argument names in a custom element with external tool Created: 16/Sep/19  Updated: 19/Oct/21

Status: Reopened
Project: UGENE
Component/s: Workflow
Affects Version/s: master
Fix Version/s: 33

Type: Bug Priority: Major
Reporter: Kirill Rasputin Assignee: Dmitrii Sukhomlinov
Resolution: Unresolved  
Labels: stability, wd
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Tester: Kirill Rasputin
Epic Link: Improve CMD elements
Sprint: DEV-33-RELEASE
Affect Type: Userdefined

 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".


 Comments   
Comment by Kirill Rasputin [ 01/Nov/19 ]

Please, add manual test scenario.

Generated at Fri Apr 19 07:08:24 NOVT 2024 using Jira 8.5.0#805000-sha1:facbf8be6a56ed8ab71dea158b6e159962506101.