[kepler-dev] [Bug 5894] New: Clone problems in NamedObjId
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Tue Mar 19 12:07:23 PDT 2013
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5894
Bug ID: 5894
Summary: Clone problems in NamedObjId
Classification: Unclassified
Product: Kepler
Version: 2.4.0
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P2
Component: actors
Assignee: barseghian at nceas.ucsb.edu
Reporter: cxh at eecs.berkeley.edu
QA Contact: kepler-dev at kepler-project.org
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20130319/609d6e02/attachment.html>
More information about the Kepler-dev
mailing list