You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/05/05 19:21:00 UTC

[jira] [Commented] (JSPWIKI-304) Workflows are not Serializable

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

ASF subversion and git services commented on JSPWIKI-304:
---------------------------------------------------------

Commit a0505787b880145c6bfe90fd51368d00273328ba in jspwiki's branch refs/heads/master from juanpablo
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=a050578 ]

JSPWIKI-304: un/serialize Workflows + Decision Queue from/to disk


> Workflows are not Serializable
> ------------------------------
>
>                 Key: JSPWIKI-304
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-304
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core &amp; storage
>    Affects Versions: 2.8.1
>         Environment: All
>            Reporter: Andrew R. Jaquith
>            Priority: Major
>             Fix For: 2.11.0-M7
>
>
> At the moment, workflows cannot be serialized. This makes it fairly useless because moderated page-save operations and user profile creations cannot persist between WikiEngine restarts.
> We provided a partial fix for this problem, which made most of the com.ecyrd.jspwiki.workflow package serializable. This filing addresses the rest of it:
> - Parameters passed to Workflow.setAttribute(String,Object) -- change Object to Serializable
> - Parameters passed to Step.setAttribute(String,Object) and all implementations -- change Object to Serializable
> - Value returned by Workflow.getAttribute(String) -- change return type from Object to Serializable
> - Value returned by Step.getAttribute(String)  and all implementations -- change return type from Object to Serializable
> We will also provide a mechanism for serializing the workflow objects to disk, perhaps similar to the way ReferenceManager works.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)