Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 52644 invoked from network); 2 Jul 2008 13:02:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2008 13:02:11 -0000 Received: (qmail 4038 invoked by uid 500); 2 Jul 2008 13:02:07 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 3966 invoked by uid 500); 2 Jul 2008 13:02:06 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 3955 invoked by uid 99); 2 Jul 2008 13:02:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 06:02:06 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 13:01:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 07292234C148 for ; Wed, 2 Jul 2008 06:01:45 -0700 (PDT) Message-ID: <107650996.1215003705027.JavaMail.jira@brutus> Date: Wed, 2 Jul 2008 06:01:45 -0700 (PDT) From: "Andrew Jaquith (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Created: (JSPWIKI-304) Workflows are not Serializable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Workflows are not Serializable ------------------------------ Key: JSPWIKI-304 URL: https://issues.apache.org/jira/browse/JSPWIKI-304 Project: JSPWiki Issue Type: Improvement Components: Core & storage Affects Versions: 2.8.1 Environment: All Reporter: Andrew Jaquith Fix For: 3.0 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.