[Dbix-class] Re: InflateColumn::DateTime no inflation of date field
logghe.marc at gmail.com
Sun Apr 3 14:36:19 GMT 2011
Guess I have sent my request too soon ...
For the record:
I swapped the order of the module loading from
Done that, I got an exception saying that DateTime::Format::MySQL was
missing. Easily solved.
But I still don't understand why the order of the component loading seems to
be irrelevant on the development server.
On Sun, Apr 3, 2011 at 4:07 PM, Marc Logghe <logghe.marc at gmail.com> wrote:
> Hi all,
> Does anybody have an idea what could cause a date field not being inflated
> when fetched from the database ?
> Thing is dat the code works perfectly on my development machine, e.g. the
> date field is properly inflated to a DateTime object. When deployed on the
> development server I end up with strings instead of DateTime objects. On
> both machines, mysql is used for storage.
> I don't receive any errors about deflation/inflation issues.
> dev server (proper inflation):
> DBIx::Class $VERSION =3D '0.08126'
> MySQL 5.0.51a
> production server (no inflation):
> DBIx::Class $VERSION =3D '0.08127'
> MySQL 5.0.32
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the DBIx-Class