[kepler-dev] [Bug 4431] - Export Archive actions should share code where possible

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Oct 14 17:52:00 PDT 2009


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





------- Comment #1 from aschultz at nceas.ucsb.edu  2009-10-14 17:52 -------
Because the WorkflowRun KAR is generated without using the ExportArchiveAction
functionality from the gui, it is impossible to rename a workflow without first
saving it as a Workflow KAR.

For example:  Start a new workflow, run it, right click on the run, save to
archive.  The workflow saved in the archive is "Unnamed#" and there is no way
for the user to rename the workflow before it is saved.

The fix for this is to extend the ExportArchiveAction class from
WorkflowRunManager.  However, the ExportArchiveAction may need some changes in
order to accommodate the special needs of saving the WorkflowRun KAR, such as
ignoring semantic type querying and retrieving the new name entered by the user
before actually saving the KAR (so the provenance store and WorkflowRuns can be
updated with that name before saving).

This is all good functionality to have in the common interface and may prove
useful to others who want to use it in similar fashion.  It is worth doing and
will prevent further code duplication and divergence.


More information about the Kepler-dev mailing list