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

SAFE_POINT when a parameter of type "String" contains a space in the "Default value" field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 33
    • Component/s: Workflow

      Description

      Scenario:

      1. Open the WD and click "Create element with external tool" on the toolbar.
      2. Click on the "Integrated external tool" radio button and click "Next" twice
        Expected state: the "Parameters" page is opened.
      3. Add a parameter, set "Display name" to "par", set "Default value" to "default value".
      4. Click "Next" twice.
      5. Set the following command:
        %USUPP_JAVA% -version
        
      6. Finalize the wizard and run the workflow.
        Expected result: the workflow is run correctly.
        Current result: a SAFE_POINT is triggered.

      The problem happens because string "default value" contains a space character. It isn't wrapped with double quotes in the ".etc" file. The obvious solution is to wrap this value with double quotes.

        Attachments

          Activity

            People

            Assignee:
            dsukhomlinov Dmitrii Sukhomlinov
            Reporter:
            dsukhomlinov Dmitrii Sukhomlinov
            Assigned Tester:
            Svetlana Samoilenko
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: