[UGENE-6573] A space character in the element name is replaced by an underscore after editing Created: 10/Sep/19  Updated: 03/Oct/19  Resolved: 12/Sep/19

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

Type: Bug Priority: Blocker
Reporter: Svetlana Samoilenko Assignee: Kirill Rasputin
Resolution: Fixed  
Labels: consistency, stability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

Scenario:

  1. Open the WD.
  2. Start the wizard for creating an element withe external tool.
  3. Set name of the new element to "My element".
  4. In the "Executable path" field set path to some tool, e.g. java.
  5. Add any fake parameter "xyz" on the "Parameters" page of the wizard.
  6. Proceed with the wizard configuration.
    Expected result: the command is:
    %TOOL_PATH% -p1 $xyz
    
  7. Finalize the wizard.
  8. Run the workflow.
    Expected result: the workflow execution failed due to the fake parameter.
  9. Select "My element" on the scene and click "Edit configuration" in the context menu.
  10. In the wizard remove the fake parameter and change command to:
     %TOOL_PATH% -version
    
  11. Click "OK" in the warning dialog.
    Expected result: the element name on the scene and on the palette is not changed.
    Current result: the name of the element on the WD palette has been changed to "My_element".

Generated at Sat Apr 20 00:04:17 NOVT 2024 using Jira 8.5.0#805000-sha1:facbf8be6a56ed8ab71dea158b6e159962506101.