[html-formfu] H::F::Model::DBIC: should depend on
DateTime::Format::SQLite
Ansgar Burchardt
ansgar at 2008.43-1.org
Sun Jun 21 18:43:17 GMT 2009
Hi,
DBIx::Class 0.08106 switched the SQLite storage driver to
DateTime::Format::SQLite instead of DT::F::MySQL. This causes the tests
for H::F::Model::DBIC to fail:
DBIx::Class::InflateColumn::get_inflated_column(): Error while
inflating 2006-12-31 00:00:00 for date_col on MySchema::Master:
DBIx::Class::InflateColumn::get_inflated_column(): Couldn't load
DateTime::Format::SQLite: Can't locate DateTime/Format/SQLite.pm in
@INC (@INC contains: [...]) at (eval 1097) line 2.
(see http://bugs.debian.org/534011 for full log)
Installing DateTime::Format::SQLite makes the tests pass instead, so
changing the dependency should be enough.
Also, I was wondering if there is any reason why test_requires
"DateTime::Format::SQLite" should not be enough (instead of "requires")?
The module actually required at run-time depends on the database.
Regards,
Ansgar
PS: Please CC me on replies. I'm not subscribed to the list.
More information about the HTML-FormFu
mailing list