On 9/22/06, John Mettraux <[email protected]> wrote:
On 9/21/06, Sameer Charles (JIRA) <[EMAIL PROTECTED]> wrote:
> Persisting Map in workitem creates additional objects
> -----------------------------------------------------
>
>                  Key: MAGNOLIA-1072
>                  URL: http://jira.magnolia.info/browse/MAGNOLIA-1072
>              Project: magnolia
>           Issue Type: Bug
>           Components: workflow
>     Affects Versions: 3.0 RC2
>             Reporter: Sameer Charles
>          Assigned To: John Mettraux
>             Priority: Critical
>              Fix For: 3.0 RC3
>
>
> To Reproduce:
>
>  - Create a Map with 3 entries "A" "B" "C"
>  - Add this in to a workitem which persists it
>  - get this workitem back and dump this Map
>  - you will get somethng like "A" "B" "class" "C"

Hi Sameer,

I've had a look at this issue.

The 'elegant way' to solve that problem would be by using a namespace
like "owfe" or "wf" for the workflow.

The modification would occur (first step) into that piece of code :
http://svn.magnolia.info/view/magnolia/trunk/magnolia-module-workflow/src/main/java/info/magnolia/module/workflow/jcr/JCRWorkItemAPI.java?rev=6409&view=markup

I'm just wondering if Mangoldia... Err, no, ;-)  Magnolia would allow
such namespaces.

WDYT ?

Could I could for a constant namespace like :

   public final static String WORKFLOW_BEANCODER_NS = "wf";

with WorkflowConstants.java ?

Hi Sameer,

actually, I took another path (no namespace required). It's checked in
within OpenWFE 1.7.2pre11 (currently being uploaded to
http://maven.openwfe.org/prereleases for Philipp).

Please give me feedback on how well it works for you.


Best regards,

--
John Mettraux   -///-   http://jmettraux.openwfe.org

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to