Project

General

Profile

Actions

Bug #5894

closed

Clone problems in NamedObjId

Added by Christopher Brooks over 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
actors
Target version:
Start date:
03/19/2013
Due date:
% Done:

100%

Estimated time:
Spent time:
Bugzilla-Id:
5894

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.

Actions

Also available in: Atom PDF