Project

General

Profile

Actions

Bug #3593

closed

exporting an actor to kar does not save portparameters that have been defined

Added by Derik Barseghian about 16 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
11/04/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3593

Description

If you configure an actor's portparameter by right clicking on it, and filling in the portparam's dialog, and then Export Archive (KAR), the actor loses its port parameter setting -- there seems to be a problem in the export code, as the moml identifies port parameters as PortAttributes.

----
If you want an example:
instantiate org.kepler.data.datasource.rbnb.DataTurbine
Configure Actor and fill in Start Time
Export KAR
The moml in the kar for this port param looks like:

<property name="kepler:Start Time (for Request or Subscribe modes)" class="org.kepler.moml.PortAttribute">
<property name="direction" value="input" class="ptolemy.kernel.util.StringAttribute"/>
<property name="dataType" value="unknown" class="ptolemy.kernel.util.StringAttribute"/>
<property name="isMultiport" value="false" class="ptolemy.kernel.util.StringAttribute"/>
</property>

Actions

Also available in: Atom PDF