Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#180 closed defect (fixed)

Copy&Paste of TerminalNodes

Reported by: kolczyk Owned by: promot
Priority: major Milestone: Promot 0.8.2
Component: PromotGuiVizEdit Version: 0.8.1
Severity: bad Keywords:
Cc:

Description

If a selection containing a TerminalNode? is copied and pasted in the same module the TerminalNode? doesn't get a new name. It is tried to add a terminal slot with the same name like the original. This leads to an error: "Slot input is already present in class PROMOT-CELL." and the copy of the TerminalEdge? gets connected to the original TerminalNode?..

Change History (2)

comment:1 Changed 16 years ago by rempel

  • Resolution set to fixed
  • Status changed from new to closed

the interpretation of what is going on is wrong. the terminal is copied and inserted with a different name, the exception you see results from trying to restore the original name (trying to conserve the interface) which is not possible in this case, as a slot with this name is already present as correctly reported in the exception. i cannot reproduce the connection to the wrong TerminalNode?. catching the exception seems to fix this [8678]

comment:2 Changed 16 years ago by rempel

  • Milestone changed from Promot 0.8.3 to Promot 0.8.2
Note: See TracTickets for help on using tickets.