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 #1

Updated by Christopher Brooks over 11 years ago

I'm targeting this to 2.5.x because it has been occurring for a long time.
It looks like valueListener and KeplerLSID were added in 2009.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5894

Actions #3

Updated by Daniel Crawl over 9 years ago

  • Assignee changed from Daniel Crawl to Christopher Brooks

This should be fixed now.

Actions #4

Updated by Christopher Brooks over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed!

Actions

Also available in: Atom PDF