Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-304

Workflows are not Serializable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.11.0-M7
    • Core & storage
    • None
    • All

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ajaquith Andrew R. Jaquith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: