[kepler-dev] [Bug 3593] New: - exporting an actor to kar does not save portparameters that have been defined

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Nov 4 16:27:42 PST 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3593

           Summary: exporting an actor to kar does not save portparameters
                    that have been defined
           Product: Kepler
           Version: 1.0.0rc1
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: REAP
          Severity: normal
          Priority: P2
         Component: actors
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: barseghian at nceas.ucsb.edu
         QAContact: kepler-dev at ecoinformatics.org


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>


More information about the Kepler-dev mailing list