Skip Menu |

This queue is for tickets about the MongoDBx-AutoDeref CPAN distribution.

Report information
The Basics
Id: 127207
Status: open
Priority: 0/
Queue: MongoDBx-AutoDeref

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

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



Subject: The method 'batch_insert' was not found
The test suite started to fail, probably if newer MongoDB versions are installed: ... # Failed test 'use MongoDBx::AutoDeref;' # at t/00-load.t line 7. # Tried to use 'MongoDBx::AutoDeref'. # Error: The method 'batch_insert' was not found in the inheritance hierarchy for MongoDB::Collection at /usr/perl5.16.3t/lib/site_perl/5.16.3/amd64-freebsd-thread-multi/Class/MOP/Class.pm line 1108 # Class::MOP::Class::add_around_method_modifier('Moose::Meta::Class=HASH(0x49e24690)', 'batch_insert', 'CODE(0x49e24480)') called at /usr/perl5.16.3t/lib/site_perl/5.16.3/Moo/HandleMoose/FakeMetaClass.pm line 16 # Moo::HandleMoose::FakeMetaClass::AUTOLOAD('Moo::HandleMoose::FakeMetaClass=HASH(0x49e1c648)', 'batch_insert', 'CODE(0x49e24480)') called at /usr/home/eserte/.cpan/build/2018092608/MongoDBx-AutoDeref-1.110560-7/blib/lib/MongoDBx/AutoDeref.pm line 63 # MongoDBx::AutoDeref::import('MongoDBx::AutoDeref') called at t/00-load.t line 7 # main::BEGIN at t/00-load.t line 7 # eval {...} at t/00-load.t line 7 # eval 'package main; # BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] } # #line 7 t/00-load.t # use MongoDBx::AutoDeref @{$args[0]}; # 1; # # ;' at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test/More.pm line 1032 # Test::More::_eval('package main;^JBEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] }^J#line 7 t/00-load.t^Juse MongoDBx::AutoDeref @{$args[0]};^J1;^J', 'ARRAY(0x422f9a50)', 'UUUUUUUUUUUUU^A') called at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test/More.pm line 1007 # Test::More::use_ok('MongoDBx::AutoDeref') called at t/00-load.t line 7 # main::BEGIN at t/00-load.t line 7 # eval {...} at t/00-load.t line 7 # BEGIN failed--compilation aborted at t/00-load.t line 7. # Looks like you failed 1 test of 1. t/00-load.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ... (etc.) ... Here's the statistical analysis (theta=-1 means "bad"): **************************************************************** Regression 'mod:MongoDB' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.1061 9.42 [1='eq_v0.708.0.0'] 0.0000 0.1300 0.00 [2='eq_v0.708.2.0'] 0.0000 0.1300 0.00 [3='eq_v1.0.2'] 0.0000 0.1501 0.00 [4='eq_v1.0.3'] 0.0000 0.1226 0.00 [5='eq_v1.0.4'] 0.0000 0.1501 0.00 [6='eq_v1.2.0'] 0.0000 0.1300 0.00 [7='eq_v1.2.1'] 0.0000 0.1501 0.00 [8='eq_v1.2.2'] 0.0000 0.1501 0.00 [9='eq_v1.2.3'] 0.0000 0.1187 0.00 [10='eq_v1.4.2'] 0.0000 0.1501 0.00 [11='eq_v1.4.4'] 0.0000 0.1501 0.00 [12='eq_v1.4.5'] 0.0000 0.1109 0.00 [13='eq_v1.6.0'] 0.0000 0.1226 0.00 [14='eq_v1.6.1'] 0.0000 0.1105 0.00 [15='eq_v1.8.0'] 0.0000 0.1099 0.00 [16='eq_v1.8.1'] -0.0000 0.1119 -0.00 [17='eq_v1.8.2'] 0.0000 0.1300 0.00 [18='eq_v1.8.3'] -0.2000 0.1163 -1.72 [19='eq_v2.0.0'] -1.0000 0.1300 -7.69 [20='eq_v2.0.1'] -1.0000 0.1099 -9.10 R^2= 0.942, N= 92, K= 21 ****************************************************************
https://metacpan.org/pod/MongoDB::Upgrading Em Qua Set 26 02:13:53 2018, SREZIC escreveu: Show quoted text
> The test suite started to fail, probably if newer MongoDB versions are > installed: > > ... > # Failed test 'use MongoDBx::AutoDeref;' > # at t/00-load.t line 7. > # Tried to use 'MongoDBx::AutoDeref'. > # Error: The method 'batch_insert' was not found in the > inheritance hierarchy for MongoDB::Collection at > /usr/perl5.16.3t/lib/site_perl/5.16.3/amd64-freebsd-thread- > multi/Class/MOP/Class.pm line 1108 > # > Class::MOP::Class::add_around_method_modifier('Moose::Meta::Class=HASH(0x49e24690)', > 'batch_insert', 'CODE(0x49e24480)') called at > /usr/perl5.16.3t/lib/site_perl/5.16.3/Moo/HandleMoose/FakeMetaClass.pm > line 16 > # > Moo::HandleMoose::FakeMetaClass::AUTOLOAD('Moo::HandleMoose::FakeMetaClass=HASH(0x49e1c648)', > 'batch_insert', 'CODE(0x49e24480)') called at > /usr/home/eserte/.cpan/build/2018092608/MongoDBx-AutoDeref-1.110560- > 7/blib/lib/MongoDBx/AutoDeref.pm line 63 > # MongoDBx::AutoDeref::import('MongoDBx::AutoDeref') called at > t/00-load.t line 7 > # main::BEGIN at t/00-load.t line 7 > # eval {...} at t/00-load.t line 7 > # eval 'package main; > # BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] } > # #line 7 t/00-load.t > # use MongoDBx::AutoDeref @{$args[0]}; > # 1; > # > # ;' at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test/More.pm line 1032 > # Test::More::_eval('package main;^JBEGIN { ${^WARNING_BITS} = > $args[-1] if defined $args[-1] }^J#line 7 t/00-load.t^Juse > MongoDBx::AutoDeref @{$args[0]};^J1;^J', 'ARRAY(0x422f9a50)', > 'UUUUUUUUUUUUU^A') called at > /usr/perl5.16.3t/lib/site_perl/5.16.3/Test/More.pm line 1007 > # Test::More::use_ok('MongoDBx::AutoDeref') called at t/00- > load.t line 7 > # main::BEGIN at t/00-load.t line 7 > # eval {...} at t/00-load.t line 7 > # BEGIN failed--compilation aborted at t/00-load.t line 7. > # Looks like you failed 1 test of 1. > t/00-load.t ............. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > ... (etc.) ... > > Here's the statistical analysis (theta=-1 means "bad"): > > **************************************************************** > Regression 'mod:MongoDB' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.1061 9.42 > [1='eq_v0.708.0.0'] 0.0000 0.1300 0.00 > [2='eq_v0.708.2.0'] 0.0000 0.1300 0.00 > [3='eq_v1.0.2'] 0.0000 0.1501 0.00 > [4='eq_v1.0.3'] 0.0000 0.1226 0.00 > [5='eq_v1.0.4'] 0.0000 0.1501 0.00 > [6='eq_v1.2.0'] 0.0000 0.1300 0.00 > [7='eq_v1.2.1'] 0.0000 0.1501 0.00 > [8='eq_v1.2.2'] 0.0000 0.1501 0.00 > [9='eq_v1.2.3'] 0.0000 0.1187 0.00 > [10='eq_v1.4.2'] 0.0000 0.1501 0.00 > [11='eq_v1.4.4'] 0.0000 0.1501 0.00 > [12='eq_v1.4.5'] 0.0000 0.1109 0.00 > [13='eq_v1.6.0'] 0.0000 0.1226 0.00 > [14='eq_v1.6.1'] 0.0000 0.1105 0.00 > [15='eq_v1.8.0'] 0.0000 0.1099 0.00 > [16='eq_v1.8.1'] -0.0000 0.1119 -0.00 > [17='eq_v1.8.2'] 0.0000 0.1300 0.00 > [18='eq_v1.8.3'] -0.2000 0.1163 -1.72 > [19='eq_v2.0.0'] -1.0000 0.1300 -7.69 > [20='eq_v2.0.1'] -1.0000 0.1099 -9.10 > > R^2= 0.942, N= 92, K= 21 > ****************************************************************