Altreus / DBIx-Class-DeploymentHandler-VersionStorage-WithSchema

Adds the schema to the DBIx::Class::DeploymentHandler version table
Other
0 stars 3 forks source link

Can't locate object method "apply" via package "DBIx::Class::DeploymentHandler::WithApplicatorDumple" #2

Open eserte opened 5 years ago

eserte commented 5 years ago

The test suite started to fail:

Can't locate object method "apply" via package "DBIx::Class::DeploymentHandler::WithApplicatorDumple" at /usr/perl5.30.0-RC1p/lib/site_perl/5.30.0/MooX/Role/Parameterized/With.pm line 21.
BEGIN failed--compilation aborted at t/lib/Dad.pm line 26.
Compilation failed in require at t/01-test.t line 9.
BEGIN failed--compilation aborted at t/01-test.t line 9.
t/01-test.t ............ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

Statistical analysis suggests that this happens if DBIx::Class::DeploymentHandler 0.002231 is installed (@mmcclimon: FYI):

****************************************************************
Regression 'mod:DBIx::Class::DeploymentHandler'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    286843076413225952.00
[1='eq_0.002231']        -1.0000          0.0000    -81677819851157520.00

R^2= 1.000, N= 111, K= 2
****************************************************************
mmcclimon commented 5 years ago

Yes, this was broken by the reversion from Moo back to Moose in https://github.com/frioux/DBIx-Class-DeploymentHandler/pull/70. This should be an easy fix here too (like...revert the changes you had to make when earlier versions of DeploymentHandler broke backcompat anyway), and I'll work up a patch later today.