Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Workflow CPAN distribution.

Report information
The Basics
Id: 89900
Status: resolved
Priority: 0/
Queue: Workflow

People
Owner: jonasbn [...] cpan.org
Requestors: kaynehril [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Context Serialization not working in Workflow::Persister::DBI
Date: Wed, 30 Oct 2013 17:10:34 +0000
To: bug-Workflow [...] rt.cpan.org
From: Sérgio Alves <kaynehril [...] gmail.com>
Greetings, I saw that on version 1.37 an issue with the serialization of context was fixed: 1.37 2013-07-03 - Update recommended - Added patch from Heiko Schlittermann fixing an issue with serialization of context (was evaluated as release 1.35_1) https://rt.cpan.org/Public/Bug/Display.html?id=64940 Although when I went to check the provided schemas for Workflow::Persister::DBI, they seem to lack a table field to store it. Also, in the code of Workflow::Persister::DBI, there seems to be no context serialization. To work around with this problem I wrote a new Persister that uses DBIx::Class instead of DBI. This persister I wrote deals with context serialization and allows you to customize where each attribute will be stored within a schema. In attachment, I send you the code for this Workflow::Persister::DBIx. Feel free to add it to the module if you find it useful. Best Regards, Sérgio Alves
Download Workflow.tar
application/x-tar 30k

Message body not shown because it is not plain text.