[ 
https://issues.apache.org/jira/browse/TAVERNA-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376935#comment-15376935
 ] 

Stian Soiland-Reyes commented on TAVERNA-65:
--------------------------------------------

The recent workflows.xml relies on serialization of a Serializable DataSource:

https://github.com/apache/incubator-taverna-workbench/blob/master/taverna-file-impl/src/main/java/org/apache/taverna/workbench/file/impl/menu/FileOpenRecentMenuAction.java#L321


But the XML code has been commented out (probably for the above reasons):

https://github.com/apache/incubator-taverna-workbench/blob/master/taverna-file-impl/src/main/java/org/apache/taverna/workbench/file/impl/menu/FileOpenRecentMenuAction.java#L210



Perhaps the fix is to use a more restricted type for dataflow source (rather 
than the current Object/Serializable) and/or have explicit serialization of it. 
Note that while a type like java.net.URI would generally do for both files and 
URIs, some sources could/should does not work well from the "Recent" menu, e.g. 
a Nested workflow or a workflow re-opened from within provenance.

> Recent Workflows not kept between re-starts
> -------------------------------------------
>
>                 Key: TAVERNA-65
>                 URL: https://issues.apache.org/jira/browse/TAVERNA-65
>             Project: Apache Taverna
>          Issue Type: Bug
>          Components: Taverna Workbench
>            Reporter: Stian Soiland-Reyes
>              Labels: file-manager
>
> "Recent workflows" is not kept between re-starts of Taverna 3. It is kept 
> within a started Taverna 3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to