Subject: | Missing Dependency - Clone |
During upgrade to .07042 on two seemingly identical machines, one succeeded while the other failed during the invocations test:
perl t/20invocations.t
1..62
ok 1 - 'hardcode' isa 'DBIx::Class::Schema'
ok 2 - 'hardcode' isa 'DBIx::Class::ResultSet'
ok 3 - 'hardcode' isa 'DBICTest::Schema::_hardcode::Foo'
ok 4 - hardcode correct object
ok 5 - hardcode object created
ok 6 - No warnings during hardcode invocations
ok 7 - 'normal' isa 'DBIx::Class::Schema'
DBIx::Class::ResultSource::schema(): Unable to perform storage-dependent operations with a detached result source (source 'Bar' is not associated with a schema). You need to use $schema->thaw() or manually set $DBIx::Class::ResultSourceHandle::thaw_schema while thawing. at t/20invocations.t line 17
After some investigation and comparison of the two machines, I discovered that the CPAN module Clone was not present on the failed installation environment. Installing Clone fixed the above error and the installation succeeded. I believe Clone should be added to the dependency list.