Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.4, 1.5
-
Fix Version/s: 1.5
-
Component/s: Taverna Core, Taverna Enactor
-
Labels:None
Description
Duplicate WorkflowInstance instances are created when running a workflow, one for each processor run.
This causes problems when assigning LSIDs to a workflow instance (ie. a run), involving TAV-153, TAV-59, TAV-160.
The proposed fix is to make sure only one instance is created and passed along correctly, which might require some slight refactoring.
Fixed by having a cache in WorkflowInstance.getInstance(). The instances are removed from the cache on destroy(). See
TAV-156.TAV-156.