Skip Menu |

This queue is for tickets about the CatalystX-InjectModule CPAN distribution.

Report information
The Basics
Id: 128853
Status: open
Priority: 0/
Queue: CatalystX-InjectModule

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: ETJ [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.19
Fixed in: (no value)



CC: ETJ [...] cpan.org
Subject: t/51-install_fixtures.t started to fail
My smoker systems started to report the following failure: ... [warn] Attempted to use view 'MyApp::View::TT', but does not exist Reference found where even-sized list expected at /usr/perl5.28.0p/lib/site_perl/5.28.0/Catalyst/TraitFor/Model/DBIC/Schema/FromMigration/_MigrationHelper.pm line 37. Can't infer schema class without a --schema or --schema_class # Failed test 'use Catalyst::Test;' # at t/51-install_fixtures.t line 9. # Tried to use 'Catalyst::Test'. # Error: Couldn't instantiate component "MyApp::Model::DBIC", "coercion for "target_dir" failed: Can't infer schema class without a --schema or --schema_class at /usr/perl5.28.0p/lib/site_perl/5.28.0/Catalyst/Test.pm line 155. # BEGIN failed--compilation aborted at t/51-install_fixtures.t line 9. Undefined subroutine &main::ctx_request called at t/51-install_fixtures.t line 11. # Looks like your test exited with 255 just after 1. t/51-install_fixtures.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests t/60-template.t .......... ok [warn] Attempted to use view 'MyApp::View::TT', but does not exist ... Statistical analysis suggests that the problem started with DBIx::Class::Migration 0.068: **************************************************************** Regression 'mod:DBIx::Class::Migration' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 69906952329952352.00 [1='eq_0.060'] -0.0000 0.0000 -15.26 [2='eq_0.064'] -0.0000 0.0000 -5.79 [3='eq_0.065'] -0.0000 0.0000 -10.98 [4='eq_0.066'] -0.0000 0.0000 -5.72 [5='eq_0.068'] -1.0000 0.0000 -48825133392158440.00 R^2= 1.000, N= 84, K= 6 ****************************************************************
I was able to repro this on my machine. With the fix, the problem went away. Thanks for the report, fixed in DBICM 0.069 (just released). The Moo conversion was incomplete as I'd missed the "auto_deref" thing. Slaven, I'd suggest once you confirm this fixes things, this could be closed.
RT-Send-CC: ETJ [...] cpan.org
On 2019-03-19 16:16:25, ETJ wrote: Show quoted text
> I was able to repro this on my machine. With the fix, the problem went > away. > > Thanks for the report, fixed in DBICM 0.069 (just released). The Moo > conversion was incomplete as I'd missed the "auto_deref" thing. > > Slaven, I'd suggest once you confirm this fixes things, this could be > closed.
It seems to be better with 0.069 and 0.070 (theta=0): **************************************************************** Regression 'mod:DBIx::Class::Migration' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 66925813691357064.00 [1='eq_0.060'] 0.0000 0.0000 3.96 [2='eq_0.064'] -0.0000 0.0000 -5.27 [3='eq_0.065'] -0.0000 0.0000 -18.75 [4='eq_0.066'] -0.0000 0.0000 -7.37 [5='eq_0.067'] -0.0000 0.0000 -11.77 [6='eq_0.068'] -1.0000 0.0000 -55640129574657912.00 [7='eq_0.069'] -0.0000 0.0000 -15.22 [8='eq_0.070'] -0.0000 0.0000 -14.10 R^2= 1.000, N= 117, K= 9 **************************************************************** However, making a new CatalystX-InjectModule release with an increased DBICM version prereq (possibly dynamically done if it is encountered that 0.068 is installed) would help users which installed the problematic DBICM version is the last days, and it would definitively make http://matrix.cpantesters.org/?dist=CatalystX-InjectModule look greener...