Bug #467
closedmorpho fails to delete package
0%
Description
Using version 1.1.0, I tried to "Delete Metacat Copy" on a package that only
existed on metacat. The operation generated the error: "Error in
DataPackage.DataPackage: String index out of range: -1". Obviously, it didn't work.
As a side effect, when I cleared the error dialog, the morpho bitterfly in the
result pane was still flapping away, even though I got the impression that the
attempted delete operation was all done. So, we need to check that the
butterfly stops flapping in all cases, including when errors are generated.
Updated by Dan Higgins over 22 years ago
I have been able to create and then delete several packages that were only on
metacat, so the Delete problem does not seem to occur every time. I will check
the code to check on why the 'flapping butterfly' does not quite when an error
occurs. (Dan Higgins)
Updated by Dan Higgins over 22 years ago
SwingWorker class has been modified to insure the the 'flapping butterfly'
quites after an error. Delete Metacat Copy seems to work fine in current version.