Taverna 2

Beanshell configuration allows duplicate port names

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.3.3
  • Fix Version/s: 0.3.4
  • Component/s: None
  • Labels:
    None

Description

When creating input ports by the beanshell configuration, it's possible to create several ports named the same. In fact, this happens if you click "Create input port" and get created "newOutput0". Click OK, and then click "Configure" again. Now add a new port, it will also be called "newOutput0".

Note that it's also possible to create two input ports called say "fish" - but this is not valid and makes it difficult to serialise the workflow and to draw the diagram correctly.

Issue Links

Activity

Hide
Ian Dunlop added a comment - 2008-08-27 11:36

The add port action now checks against current names and keeps incrementing the number (in1, in2 etc) until it finds one it can use. Note that you can still add duplicates by hand.

Show
Ian Dunlop added a comment - 2008-08-27 11:36 The add port action now checks against current names and keeps incrementing the number (in1, in2 etc) until it finds one it can use. Note that you can still add duplicates by hand.

People

Vote (0)
Watch (0)

Dates

  • Created:
    2008-08-26 16:48
    Updated:
    2010-01-27 15:17
    Resolved:
    2008-08-27 11:36