Bug #5894
closedClone problems in NamedObjId
Description
Checking the configuration results in messages about clone problems in NamedObjId:
The valueListeners java.util.Vector field
in the clone of "org.kepler.moml.NamedObjId"
does not point to an object distinct from the master.
This may cause problems with actor oriented classes.
The clone(Workspace) method should have a line like:
newObject.valueListeners = (Vector)newObject
/* Get the object method or null? / valueListeners;
The _id org.kepler.objectmanager.lsid.KeplerLSID field
in the clone of "org.kepler.moml.NamedObjId"
does not point to an object distinct from the master.
This may cause problems with actor oriented classes.
The clone(Workspace) method should have a line like:
newObject._id = (KeplerLSID)newObject
/ Get the object method or null? */ _id;
To replicate:
1) Start Kepler
2) Click on the Documentation link
3) Click on "Background information about Ptolemy"
4) Click on the Copyright link
5) Click on the Copyright link at the bottom (Other copyrights ...)
6) Click on "other" information about this configuration at the bottom
7) Click on "about:configuration"
The text above will appear.
The issue with cloning could be causing problems with actor oriented classes.
This class should have a clone(Workspace) method added.