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

The second occurrence of a parameter in a command is not replaced

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: cmdline_elements
    • Fix Version/s: 33
    • Component/s: Workflow
    • Labels:
      None

      Description

      Scenario:

      1. Open the Workflow Designer.
      2. Create a new workflow element with command-line tool:
        • Set name to "Element One". Select a tool.
        • Add a new parameter "-version". Make sure it's default value is also "-version".
        • On the "Command" page set up the following command:
          /usr/bin/java $-version $-version
          

          (use an appropriate path to java).

      3. Add the created to the WD scene.
      4. Run the workflow.
      5. Open the log view.
      6. Scroll to the element's logging output.
        Current result: There is a string that corresponds to the command of the element. The problem is that the first occurrence of the "$-version" is replaced by the default value "-version" but the second occurrence is not.

        Attachments

          Activity

            People

            Assignee:
            ichebykin Igor Chebykin [X] (Inactive)
            Reporter:
            ichebykin Igor Chebykin [X] (Inactive)
            Assigned Tester:
            Kirill Rasputin
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: