Subject: | Blobdata destroyed, not sure if it's a bug |
Date: | Wed, 13 Apr 2011 20:32:59 +0200 |
To: | David Precious via RT <bug-Dancer-Plugin-Database [...] rt.cpan.org> |
From: | Michael Stiller <ms [...] 2scale.net> |
Hi,
today i encountered a strange bug in my Dancer Application,
basically i try to upload an image and store the image data
in a mysql database in a mediumblob. (Please don't question that ;)
This works allright on my development machine (os x).
Now running at the production machine it looks like the
8th bit of the blob data gets cut-off.
Fortunately that machine was running a slightly older version
of Dancer::Plugin::Database, that one without that
[non-ASCII data not logged].
If the image data gets logged in this line, it's ok as it should.
So my guess is, there is no bug in Dancer::Plugin::Database.
But the data gets somewhat destroyed between the logging of the data
and the database and i have no idea, where to look at.
Any clues?
Cheers,
Michael
--
2scale GmbH, Karlstr. 88, 40210 Düsseldorf
Amtsgericht: Düsseldorf HRB 50718
Geschäftsführer: Georg von Zezschwitz, Dirk Vleugels
USt-IdNr.: DE 210936505