Open cxbrooks opened 16 years ago
In a link is the border of a selection, the current code expects that on one side the link is connector with an actor-port. If this is not the case the link is removed and the newly created composite actor has no ports.
An example:
<?xml version="1.0" standalone="no"?> <!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN" "http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
relation1 is linked with relation. If create a hierarchy with the border of your selection on the edge between both relations, you have a port in the composite actor and you hence also miss the link between both.
(Hmm, I made some typing errors in the above description. I hope it is still clear)
Anyway, fixing this in general (so not for this example) with the current implementation is not that easy, except maybe if I would add an input/output port in the composite actor instead of trying to find our whether it should be an input or output port. Probably this hierarchy problem is also less important that than the already reported ones.
Note: the issue was created automatically with bugzilla2github tool
Original bug ID: BZ#198 From: Bert Rodiers <bert.rodiers@gmail.com> Reported version: 7.1.devel CC: pt-dev@chess.eecs.berkeley.edu