Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 62546
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: michael.jemmeson [...] gmail.com
Cc:
AdminCc:

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



Subject: Serializing row object freeze/thaw fails through memcached
Row object fails a Storable freeze/thaw round-trip via memcached (using Cache::Memcached). Memcached test added to t/84serialize.t via 'patch' attached file. Test output in 'output' attached file. tested with: Cache::Memcached: 1.29, DBIx::Class: 0.08124, Storable: 2.21
Subject: output
Download output
application/octet-stream 4.1k

Message body not shown because it is not plain text.

Subject: patch
Download patch
application/octet-stream 1.1k

Message body not shown because it is not plain text.

On Fri Oct 29 04:55:35 2010, mjemmeson wrote: Show quoted text
> Row object fails a Storable freeze/thaw round-trip via memcached (using > Cache::Memcached). Memcached test added to t/84serialize.t via 'patch' > attached file. Test output in 'output' attached file. > > tested with: Cache::Memcached: 1.29, DBIx::Class: 0.08124, Storable: 2.21
I just realized that the documentation is missing a crucial bit of info: you need to set local $DBIx::Class::ResultSourceHandle::thaw_schema = $the_schema_to_which_you_want_to_reattach_the_ice otherwise nothing will work. Documentation will be fixed later this week.
On Fri Oct 29 04:55:35 2010, mjemmeson wrote: Show quoted text
> Row object fails a Storable freeze/thaw round-trip via memcached (using > Cache::Memcached). Memcached test added to t/84serialize.t via 'patch' > attached file. Test output in 'output' attached file. > > tested with: Cache::Memcached: 1.29, DBIx::Class: 0.08124, Storable: 2.21
A massive rewrite of the serialization codepath took place, with better errors and better functionality. It would be great if you can test this branch before we release it to the public, as there are some risky things going on in there. http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits/DBIx-Class.git;a=commitdiff;h=7c5b791723886f1454448a43368671253b27bfb0