PATH=/usr/bin:/bin:/home/fly1600/var/megalib/bin Start 2014-12-06T14:11:07 ActivePerl-1600 CPAN-2.00 Reading '/home/fly1600/var/cpan/Metadata' Database was generated on Sat, 06 Dec 2014 19:29:02 GMT Running make for T/TI/TIMB/WebAPI-DBIC-0.002003.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/WebAPI-DBIC-0.002003.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/CHECKSUMS Checksum for /home/fly1600/var/cpan/sources/authors/id/T/TI/TIMB/WebAPI-DBIC-0.002003.tar.gz ok WebAPI-DBIC-0.002003 WebAPI-DBIC-0.002003/README WebAPI-DBIC-0.002003/Changes WebAPI-DBIC-0.002003/LICENSE WebAPI-DBIC-0.002003/cpanfile WebAPI-DBIC-0.002003/dist.ini WebAPI-DBIC-0.002003/META.yml WebAPI-DBIC-0.002003/MANIFEST WebAPI-DBIC-0.002003/NOTES.pod WebAPI-DBIC-0.002003/README.md WebAPI-DBIC-0.002003/META.json WebAPI-DBIC-0.002003/Makefile.PL WebAPI-DBIC-0.002003/MANIFEST.SKIP WebAPI-DBIC-0.002003/t WebAPI-DBIC-0.002003/t/00-compile.t WebAPI-DBIC-0.002003/t/90-root-hal.t WebAPI-DBIC-0.002003/t/etc WebAPI-DBIC-0.002003/t/etc/schema.pl WebAPI-DBIC-0.002003/t/lib WebAPI-DBIC-0.002003/t/lib/TestDS.pm WebAPI-DBIC-0.002003/t/90-root-core.t WebAPI-DBIC-0.002003/t/lib/TestKit.pm WebAPI-DBIC-0.002003/t/10-basics-hal.t WebAPI-DBIC-0.002003/t/11-paging-hal.t WebAPI-DBIC-0.002003/t/13-fields-hal.t WebAPI-DBIC-0.002003/t/50-modify-hal.t WebAPI-DBIC-0.002003/t/90-root-hal.exp WebAPI-DBIC-0.002003/lib/WebAPI WebAPI-DBIC-0.002003/lib/WebAPI/DBIC.pm WebAPI-DBIC-0.002003/t/10-basics-core.t WebAPI-DBIC-0.002003/t/11-paging-core.t WebAPI-DBIC-0.002003/t/13-fields-core.t WebAPI-DBIC-0.002003/t/50-modify-core.t WebAPI-DBIC-0.002003/t/53-put_rel-hal.t WebAPI-DBIC-0.002003/t/60-invoke-core.t WebAPI-DBIC-0.002003/t/90-root-core.exp WebAPI-DBIC-0.002003/run-chinook-demo.sh WebAPI-DBIC-0.002003/t/10-basics-hal.exp WebAPI-DBIC-0.002003/t/11-paging-hal.exp WebAPI-DBIC-0.002003/t/14-distinct-hal.t WebAPI-DBIC-0.002003/t/30-ordering-hal.t WebAPI-DBIC-0.002003/t/40-prefetch-hal.t WebAPI-DBIC-0.002003/t/52-post_rel-hal.t WebAPI-DBIC-0.002003/t/53-put_rel-core.t WebAPI-DBIC-0.002003/t/lib/TestDS_HAL.pm WebAPI-DBIC-0.002003/t/lib/TestSchema.pm WebAPI-DBIC-0.002003/data_service_api.pod WebAPI-DBIC-0.002003/webapi-dbic-any.psgi WebAPI-DBIC-0.002003/t/10-basics-core.exp WebAPI-DBIC-0.002003/t/11-paging-core.exp WebAPI-DBIC-0.002003/t/12-searching-hal.t WebAPI-DBIC-0.002003/t/14-distinct-core.t WebAPI-DBIC-0.002003/t/30-ordering-core.t WebAPI-DBIC-0.002003/t/53-put_rel-hal.exp WebAPI-DBIC-0.002003/webapi-dbic-demo.psgi WebAPI-DBIC-0.002003/hal-browser WebAPI-DBIC-0.002003/hal-browser/README.md WebAPI-DBIC-0.002003/hal-browser/js WebAPI-DBIC-0.002003/hal-browser/js/hal.js WebAPI-DBIC-0.002003/t/10-basics-jsonapi.t WebAPI-DBIC-0.002003/t/12-searching-core.t WebAPI-DBIC-0.002003/t/30-ordering-hal.exp WebAPI-DBIC-0.002003/t/40-prefetch-hal.exp WebAPI-DBIC-0.002003/t/53-put_rel-core.exp WebAPI-DBIC-0.002003/run-testschema-demo.sh WebAPI-DBIC-0.002003/hal-browser/styles.css WebAPI-DBIC-0.002003/t/12-searching-hal.exp WebAPI-DBIC-0.002003/t/30-ordering-core.exp WebAPI-DBIC-0.002003/t/release-pod-syntax.t WebAPI-DBIC-0.002003/lib/WebAPI/DBIC WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Util.pm WebAPI-DBIC-0.002003/t/10-basics-jsonapi.exp WebAPI-DBIC-0.002003/t/12-searching-core.exp WebAPI-DBIC-0.002003/t/40-prefetch-jsonapi.t WebAPI-DBIC-0.002003/hal-browser/browser.html WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Router.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/WebApp.pm WebAPI-DBIC-0.002003/t/40-prefetch-jsonapi.exp WebAPI-DBIC-0.002003/t/lib/DummyLoadedSchema.pm WebAPI-DBIC-0.002003/hal-browser/MIT-LICENSE.txt WebAPI-DBIC-0.002003/hal-browser/js/hal WebAPI-DBIC-0.002003/hal-browser/js/hal/browser.js WebAPI-DBIC-0.002003/t/etc/fixtures/basic/CD WebAPI-DBIC-0.002003/t/etc/fixtures/basic/CD/1.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/CD/2.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/CD/3.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/CD/4.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/CD/5.fix WebAPI-DBIC-0.002003/t/lib/TestSchema/Result WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/CD.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/resource.js WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/Gig.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Base.pm WebAPI-DBIC-0.002003/t/etc/fixtures/basic WebAPI-DBIC-0.002003/t/etc/fixtures/basic/_config_set WebAPI-DBIC-0.002003/t/etc/fixtures/basic/genre WebAPI-DBIC-0.002003/t/etc/fixtures/basic/genre/1.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/genre/2.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/genre/3.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/genre/4.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/4.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/5.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/6.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/7.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/8.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/9.fix WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/Genre.pm WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/Track.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/http WebAPI-DBIC-0.002003/hal-browser/js/hal/http/client.js WebAPI-DBIC-0.002003/hal-browser/js/hal/views WebAPI-DBIC-0.002003/hal-browser/js/hal/views/links.js WebAPI-DBIC-0.002003/hal-browser/vendor/js WebAPI-DBIC-0.002003/hal-browser/vendor/js/backbone.js WebAPI-DBIC-0.002003/t/etc/fixtures/basic/artist WebAPI-DBIC-0.002003/t/etc/fixtures/basic/artist/1.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/artist/2.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/artist/3.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/artist/4.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/artist/5.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/artist/6.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/10.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/11.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/12.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/13.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/14.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/15.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/16.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/17.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/track/18.fix WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/Artist.pm WebAPI-DBIC-0.002003/hal-browser/vendor/js/bootstrap.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Role WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Role/JsonParams.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/browser.js WebAPI-DBIC-0.002003/hal-browser/vendor/js/underscore.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Role/JsonEncoder.pm WebAPI-DBIC-0.002003/t/etc/fixtures/basic/producer WebAPI-DBIC-0.002003/t/etc/fixtures/basic/producer/1.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/producer/2.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/producer/3.fix WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/Producer.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/explorer.js WebAPI-DBIC-0.002003/hal-browser/js/hal/views/resource.js WebAPI-DBIC-0.002003/hal-browser/js/hal/views/response.js WebAPI-DBIC-0.002003/hal-browser/vendor/css WebAPI-DBIC-0.002003/hal-browser/vendor/css/bootstrap.css WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/Set.pm WebAPI-DBIC-0.002003/lib/WebAPI/HTTP/Throwable WebAPI-DBIC-0.002003/lib/WebAPI/HTTP/Throwable/Factory.pm WebAPI-DBIC-0.002003/t/etc/fixtures/basic/_dumper_version WebAPI-DBIC-0.002003/hal-browser/js/hal/views/inspector.js WebAPI-DBIC-0.002003/hal-browser/vendor/js/uritemplates.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/DBIC.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/Item.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/Root.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/navigation.js WebAPI-DBIC-0.002003/hal-browser/js/hal/views/properties.js WebAPI-DBIC-0.002003/hal-browser/vendor/img WebAPI-DBIC-0.002003/hal-browser/vendor/img/ajax-loader.gif WebAPI-DBIC-0.002003/hal-browser/vendor/js/jquery-1.10.2.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/GenericSet.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/GenericCore.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/GenericItem.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/GenericRoot.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/Router.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/SetHAL.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/location_bar.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/ItemHAL.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/RootHAL.pm WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/ClassicAlbums.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/documentation.js WebAPI-DBIC-0.002003/hal-browser/js/hal/views/response_body.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/DBIC_HAL.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/Identity.pm WebAPI-DBIC-0.002003/t/lib/TestSchema/Result/CD_to_Producer.pm WebAPI-DBIC-0.002003/hal-browser/vendor/js/jquery-1.10.2.min.js WebAPI-DBIC-0.002003/lib/WebAPI/HTTP/Throwable/Role WebAPI-DBIC-0.002003/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/request_headers.js WebAPI-DBIC-0.002003/hal-browser/vendor/js/jquery-1.10.2.min.map WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/SetJSONAPI.pm WebAPI-DBIC-0.002003/t/etc/fixtures/basic/cd_to_producer WebAPI-DBIC-0.002003/t/etc/fixtures/basic/cd_to_producer/1-1.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/cd_to_producer/1-2.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/cd_to_producer/1-3.fix WebAPI-DBIC-0.002003/hal-browser/js/hal/views/query_uri_dialog.js WebAPI-DBIC-0.002003/hal-browser/js/hal/views/response_headers.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/ItemJSONAPI.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/embedded_resource.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/DBIC_JSONAPI.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/Relationship.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/embedded_resources.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/DBICException.pm WebAPI-DBIC-0.002003/hal-browser/vendor/css/bootstrap-responsive.css WebAPI-DBIC-0.002003/hal-browser/vendor/img/glyphicons-halflings.png WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/SetWritableHAL.pm WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/ItemWritableHAL.pm WebAPI-DBIC-0.002003/hal-browser/js/hal/views/non_safe_request_dialog.js WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/SetWritableJSONAPI.pm WebAPI-DBIC-0.002003/t/etc/fixtures/basic/gig WebAPI-DBIC-0.002003/t/etc/fixtures/basic/gig/1-2014-01-01T01:01:01Z.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/gig/2-2014-06-30T19:00:00Z.fix WebAPI-DBIC-0.002003/t/etc/fixtures/basic/gig/3-2014-06-30T13:00:00Z.fix WebAPI-DBIC-0.002003/lib/WebAPI/DBIC/Resource/Role/ItemWritableJSONAPI.pm WebAPI-DBIC-0.002003/hal-browser/vendor/img/glyphicons-halflings-white.png WebAPI-DBIC-0.002003/t/lib/Test/DBIx/Class/FixtureCommand WebAPI-DBIC-0.002003/t/lib/Test/DBIx/Class/FixtureCommand/TestFixtureCommand.pm CPAN.pm: Building T/TI/TIMB/WebAPI-DBIC-0.002003.tar.gz >>> /home/fly1600/ap1600/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WebAPI::DBIC Writing MYMETA.yml and MYMETA.json >>> make cp lib/WebAPI/DBIC/Resource/Role/Relationship.pm blib/lib/WebAPI/DBIC/Resource/Role/Relationship.pm cp lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm cp lib/WebAPI/DBIC/Resource/Role/RootHAL.pm blib/lib/WebAPI/DBIC/Resource/Role/RootHAL.pm cp lib/WebAPI/HTTP/Throwable/Factory.pm blib/lib/WebAPI/HTTP/Throwable/Factory.pm cp lib/WebAPI/DBIC/Role/JsonEncoder.pm blib/lib/WebAPI/DBIC/Role/JsonEncoder.pm cp lib/WebAPI/DBIC.pm blib/lib/WebAPI/DBIC.pm cp lib/WebAPI/DBIC/Resource/Role/SetWritableJSONAPI.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritableJSONAPI.pm cp lib/WebAPI/DBIC/Resource/Role/ItemWritableHAL.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritableHAL.pm cp lib/WebAPI/DBIC/Resource/Role/SetHAL.pm blib/lib/WebAPI/DBIC/Resource/Role/SetHAL.pm cp lib/WebAPI/DBIC/Resource/Role/ItemWritableJSONAPI.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritableJSONAPI.pm cp lib/WebAPI/DBIC/Resource/Role/Item.pm blib/lib/WebAPI/DBIC/Resource/Role/Item.pm cp lib/WebAPI/DBIC/Resource/Role/Root.pm blib/lib/WebAPI/DBIC/Resource/Role/Root.pm cp NOTES.pod blib/lib/WebAPI/NOTES.pod cp lib/WebAPI/DBIC/Resource/GenericSet.pm blib/lib/WebAPI/DBIC/Resource/GenericSet.pm cp lib/WebAPI/DBIC/Resource/GenericItem.pm blib/lib/WebAPI/DBIC/Resource/GenericItem.pm cp lib/WebAPI/DBIC/Resource/Role/SetWritableHAL.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritableHAL.pm cp lib/WebAPI/DBIC/Resource/Role/SetWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm cp lib/WebAPI/DBIC/Resource/Role/DBICException.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm cp lib/WebAPI/DBIC/Resource/Role/Identity.pm blib/lib/WebAPI/DBIC/Resource/Role/Identity.pm cp lib/WebAPI/DBIC/WebApp.pm blib/lib/WebAPI/DBIC/WebApp.pm cp lib/WebAPI/DBIC/Resource/GenericRoot.pm blib/lib/WebAPI/DBIC/Resource/GenericRoot.pm cp lib/WebAPI/DBIC/Resource/Role/SetJSONAPI.pm blib/lib/WebAPI/DBIC/Resource/Role/SetJSONAPI.pm cp lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm cp data_service_api.pod blib/lib/WebAPI/data_service_api.pod cp lib/WebAPI/DBIC/Resource/Role/DBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/DBIC.pm cp lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm cp lib/WebAPI/DBIC/Resource/Role/Set.pm blib/lib/WebAPI/DBIC/Resource/Role/Set.pm cp lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm cp lib/WebAPI/DBIC/Resource/Role/ItemJSONAPI.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemJSONAPI.pm cp lib/WebAPI/DBIC/Resource/Role/DBIC_JSONAPI.pm blib/lib/WebAPI/DBIC/Resource/Role/DBIC_JSONAPI.pm cp lib/WebAPI/DBIC/Role/JsonParams.pm blib/lib/WebAPI/DBIC/Role/JsonParams.pm cp lib/WebAPI/DBIC/Resource/Role/DBICParams.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm cp lib/WebAPI/DBIC/Resource/Role/Router.pm blib/lib/WebAPI/DBIC/Resource/Role/Router.pm cp lib/WebAPI/DBIC/Resource/Role/ItemHAL.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemHAL.pm cp lib/WebAPI/DBIC/Resource/Base.pm blib/lib/WebAPI/DBIC/Resource/Base.pm cp lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm cp lib/WebAPI/DBIC/Util.pm blib/lib/WebAPI/DBIC/Util.pm cp lib/WebAPI/DBIC/Resource/Role/DBIC_HAL.pm blib/lib/WebAPI/DBIC/Resource/Role/DBIC_HAL.pm cp lib/WebAPI/DBIC/Router.pm blib/lib/WebAPI/DBIC/Router.pm cp lib/WebAPI/DBIC/Resource/GenericCore.pm blib/lib/WebAPI/DBIC/Resource/GenericCore.pm Manifying 40 pod documents TIMB/WebAPI-DBIC-0.002003.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1600/ap1600/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t webapi-dbic-any.psgi syntax OK Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x18c3288), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x19604d0), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x19b4cf8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x19b4cf8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x19c9dd0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x20b4348)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x19c9dd0), Moose::Meta::Instance=HASH(0x20c6c20), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x20b4348), HASH(0x20c6338)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x20c66e0), HASH(0x20c6338)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x20c66e0), HASH(0x20c6338)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x20c66e0), HASH(0x20c6338)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x20b4978)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x20b4978)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x20b4978)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x15d23c0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at t/lib/DummyLoadedSchema.pm line 8 DummyLoadedSchema::BEGIN() called at t/lib/DummyLoadedSchema.pm line 8 eval {...} called at t/lib/DummyLoadedSchema.pm line 8 require DummyLoadedSchema.pm called at webapi-dbic-demo.psgi line 13 main::BEGIN() called at t/lib/DummyLoadedSchema.pm line 8 eval {...} called at t/lib/DummyLoadedSchema.pm line 8 webapi-dbic-demo.psgi syntax OK t/00-compile.t ........... ok 1 - lib/WebAPI/DBIC.pm compiles ok 2 - lib/WebAPI/DBIC/Util.pm compiles ok 3 - lib/WebAPI/DBIC/Router.pm compiles ok 4 - lib/WebAPI/DBIC/WebApp.pm compiles ok 5 - blib/lib/WebAPI/DBIC.pm compiles ok 6 - lib/WebAPI/DBIC/Resource/Base.pm compiles ok 7 - lib/WebAPI/DBIC/Resource/GenericSet.pm compiles ok 8 - lib/WebAPI/DBIC/Resource/GenericCore.pm compiles ok 9 - lib/WebAPI/DBIC/Resource/GenericItem.pm compiles ok 10 - lib/WebAPI/DBIC/Resource/GenericRoot.pm compiles ok 11 - lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm compiles ok 12 - lib/WebAPI/DBIC/Role/JsonParams.pm compiles ok 13 - lib/WebAPI/DBIC/Role/JsonEncoder.pm compiles ok 14 - lib/WebAPI/HTTP/Throwable/Factory.pm compiles ok 15 - blib/lib/WebAPI/DBIC/WebApp.pm compiles ok 16 - blib/lib/WebAPI/DBIC/Util.pm compiles ok 17 - blib/lib/WebAPI/DBIC/Router.pm compiles ok 18 - lib/WebAPI/DBIC/Resource/Role/Set.pm compiles ok 19 - lib/WebAPI/DBIC/Resource/Role/DBIC.pm compiles ok 20 - lib/WebAPI/DBIC/Resource/Role/Item.pm compiles ok 21 - lib/WebAPI/DBIC/Resource/Role/Root.pm compiles ok 22 - lib/WebAPI/DBIC/Resource/Role/Router.pm compiles ok 23 - lib/WebAPI/DBIC/Resource/Role/SetHAL.pm compiles ok 24 - lib/WebAPI/DBIC/Resource/Role/ItemHAL.pm compiles ok 25 - lib/WebAPI/DBIC/Resource/Role/RootHAL.pm compiles ok 26 - lib/WebAPI/DBIC/Resource/Role/DBIC_HAL.pm compiles ok 27 - lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm compiles ok 28 - lib/WebAPI/DBIC/Resource/Role/Identity.pm compiles ok 29 - lib/WebAPI/DBIC/Resource/Role/DBICParams.pm compiles ok 30 - lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm compiles ok 31 - lib/WebAPI/DBIC/Resource/Role/SetJSONAPI.pm compiles ok 32 - lib/WebAPI/DBIC/Resource/Role/ItemJSONAPI.pm compiles ok 33 - lib/WebAPI/DBIC/Resource/Role/SetWritable.pm compiles ok 34 - lib/WebAPI/DBIC/Resource/Role/DBIC_JSONAPI.pm compiles ok 35 - lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm compiles ok 36 - lib/WebAPI/DBIC/Resource/Role/Relationship.pm compiles ok 37 - lib/WebAPI/DBIC/Resource/Role/DBICException.pm compiles ok 38 - lib/WebAPI/DBIC/Resource/Role/SetWritableHAL.pm compiles ok 39 - lib/WebAPI/DBIC/Resource/Role/ItemWritableHAL.pm compiles ok 40 - lib/WebAPI/DBIC/Resource/Role/SetWritableJSONAPI.pm compiles ok 41 - lib/WebAPI/DBIC/Resource/Role/ItemWritableJSONAPI.pm compiles ok 42 - lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm compiles ok 43 - blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm compiles ok 44 - blib/lib/WebAPI/DBIC/Resource/GenericSet.pm compiles ok 45 - blib/lib/WebAPI/DBIC/Resource/GenericItem.pm compiles ok 46 - blib/lib/WebAPI/DBIC/Resource/GenericRoot.pm compiles ok 47 - blib/lib/WebAPI/DBIC/Resource/Base.pm compiles ok 48 - blib/lib/WebAPI/DBIC/Resource/GenericCore.pm compiles ok 49 - blib/lib/WebAPI/DBIC/Role/JsonEncoder.pm compiles ok 50 - blib/lib/WebAPI/DBIC/Role/JsonParams.pm compiles ok 51 - blib/lib/WebAPI/HTTP/Throwable/Factory.pm compiles ok 52 - blib/lib/WebAPI/DBIC/Resource/Role/Relationship.pm compiles ok 53 - blib/lib/WebAPI/DBIC/Resource/Role/RootHAL.pm compiles ok 54 - blib/lib/WebAPI/DBIC/Resource/Role/SetWritableJSONAPI.pm compiles ok 55 - blib/lib/WebAPI/DBIC/Resource/Role/ItemWritableHAL.pm compiles ok 56 - blib/lib/WebAPI/DBIC/Resource/Role/SetHAL.pm compiles ok 57 - blib/lib/WebAPI/DBIC/Resource/Role/ItemWritableJSONAPI.pm compiles ok 58 - blib/lib/WebAPI/DBIC/Resource/Role/Item.pm compiles ok 59 - blib/lib/WebAPI/DBIC/Resource/Role/Root.pm compiles ok 60 - blib/lib/WebAPI/DBIC/Resource/Role/SetWritableHAL.pm compiles ok 61 - blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm compiles ok 62 - blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm compiles ok 63 - blib/lib/WebAPI/DBIC/Resource/Role/Identity.pm compiles ok 64 - blib/lib/WebAPI/DBIC/Resource/Role/SetJSONAPI.pm compiles ok 65 - blib/lib/WebAPI/DBIC/Resource/Role/DBIC.pm compiles ok 66 - blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm compiles ok 67 - blib/lib/WebAPI/DBIC/Resource/Role/Set.pm compiles ok 68 - blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm compiles ok 69 - blib/lib/WebAPI/DBIC/Resource/Role/ItemJSONAPI.pm compiles ok 70 - blib/lib/WebAPI/DBIC/Resource/Role/DBIC_JSONAPI.pm compiles ok 71 - blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm compiles ok 72 - blib/lib/WebAPI/DBIC/Resource/Role/Router.pm compiles ok 73 - blib/lib/WebAPI/DBIC/Resource/Role/ItemHAL.pm compiles ok 74 - blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm compiles ok 75 - blib/lib/WebAPI/DBIC/Resource/Role/DBIC_HAL.pm compiles ok 76 - blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm compiles ok 77 - has psgi files 1..77 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebf9f8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfc38), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f133e8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f133e8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f286f8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25323d0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f286f8), Moose::Meta::Instance=HASH(0x132e140), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25323d0), HASH(0x2586118)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2586118)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2586118)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2586118)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25854d0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25854d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25854d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3ab0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/10-basics-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/10-basics-core.t ....... importing fixtures - deleting existing temp directory /tmp/7CjiANFA0d - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== basics - specs ===== # --- Config: # --- Name: get single item # GET /artist/1 # Vary: Accept # Content-Length: 69 # Content-Type: application/json # --- Name: get different single item # GET /artist/2 # Vary: Accept # Content-Length: 66 # Content-Type: application/json # --- Name: get set of items # GET /artist # Vary: Accept # Content-Length: 387 # Content-Type: application/json # --- Name: get item with multi-field key # GET /gig/1/2014-01-01T01:01:01Z # Vary: Accept # Content-Length: 52 # Content-Type: application/json # --- Name: get different item with multi-field key # GET /gig/2/2014-06-30T19:00:00Z # Vary: Accept # Content-Length: 52 # Content-Type: application/json # --- Name: get view data # GET /classic_albums # Vary: Accept # Content-Length: 322 # Content-Type: application/json ok 1 - 10-basics-core.t output in t/10-basics-core.got matches t/10-basics-core.exp 1..1 ok 2 - ===== basics - specs ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebfb88), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfdc8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f13588), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f13588), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28838), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25322d0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28838), Moose::Meta::Instance=HASH(0x132e1e0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25322d0), HASH(0x2586018)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dc88), HASH(0x2586018)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dc88), HASH(0x2586018)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dc88), HASH(0x2586018)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25853d0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25853d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25853d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3c90)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/10-basics-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/10-basics-hal.t ........ importing fixtures - deleting existing temp directory /tmp/NyfwUiTq2Y - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== basics - specs ===== # --- Config: # --- Name: get single item # GET /artist/1 # Vary: Accept # Content-Length: 174 # Content-Type: application/hal+json # --- Name: get different single item # GET /artist/2 # Vary: Accept # Content-Length: 171 # Content-Type: application/hal+json # --- Name: get set of items # GET /artist # Vary: Accept # Content-Length: 1131 # Content-Type: application/hal+json # --- Name: get item with multi-field key # GET /gig/1/2014-01-01T01:01:01Z # Vary: Accept # Content-Length: 139 # Content-Type: application/hal+json # --- Name: get different item with multi-field key # GET /gig/2/2014-06-30T19:00:00Z # Vary: Accept # Content-Length: 139 # Content-Type: application/hal+json # --- Name: get view data # GET /classic_albums # Vary: Accept # Content-Length: 666 # Content-Type: application/hal+json ok 1 - 10-basics-hal.t output in t/10-basics-hal.got matches t/10-basics-hal.exp 1..1 ok 2 - ===== basics - specs ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebfb88), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfdc8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f13588), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f13588), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28838), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25322d0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28838), Moose::Meta::Instance=HASH(0x132e190), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25322d0), HASH(0x2586018)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dc38), HASH(0x2586018)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dc38), HASH(0x2586018)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dc38), HASH(0x2586018)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25853d0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25853d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25853d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3c90)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/10-basics-jsonapi.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/10-basics-jsonapi.t .... importing fixtures - deleting existing temp directory /tmp/3JucdCsBiF - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== basics - specs ===== # --- Config: # --- Name: get single item # GET /artist/1 # Vary: Accept # Content-Length: 124 # Content-Type: application/vnd.api+json # --- Name: get different single item # GET /artist/2 # Vary: Accept # Content-Length: 121 # Content-Type: application/vnd.api+json # --- Name: get set of items # GET /artist # Vary: Accept # Content-Length: 650 # Content-Type: application/vnd.api+json # --- Name: get item with multi-field key # GET /gig/1/2014-01-01T01:01:01Z # Vary: Accept # Content-Length: 119 # Content-Type: application/vnd.api+json # --- Name: get different item with multi-field key # GET /gig/2/2014-06-30T19:00:00Z # Vary: Accept # Content-Length: 119 # Content-Type: application/vnd.api+json # --- Name: get view data # GET /classic_albums # Vary: Accept # Content-Length: 515 # Content-Type: application/vnd.api+json ok 1 - 10-basics-jsonapi.t output in t/10-basics-jsonapi.got matches t/10-basics-jsonapi.exp 1..1 ok 2 - ===== basics - specs ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebf8d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfb18), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), Moose::Meta::Instance=HASH(0x132e100), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3980)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/11-paging-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/11-paging-core.t ....... importing fixtures - deleting existing temp directory /tmp/Udv2hcPW3h - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Paging ===== # --- Config: # --- Name: get 1 row # GET /artist?rows=1 # Vary: Accept # Content-Length: 71 # Content-Type: application/json # --- Name: get 2 rows # GET /artist?rows=2 # Vary: Accept # Content-Length: 138 # Content-Type: application/json # --- Name: get 2 rows from second 'page' # GET /artist?rows=2&page=2 # Vary: Accept # Content-Length: 125 # Content-Type: application/json ok 1 - 11-paging-core.t output in t/11-paging-core.got matches t/11-paging-core.exp 1..1 ok 2 - ===== Paging ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebf8d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfb18), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), Moose::Meta::Instance=HASH(0x132e100), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3980)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/11-paging-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/11-paging-hal.t ........ importing fixtures - deleting existing temp directory /tmp/7dlm7oUaF7 - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Paging ===== # --- Config: # --- Name: get 1 row # GET /artist?rows=1 # Vary: Accept # Content-Length: 329 # Content-Type: application/hal+json # --- Name: get 2 rows with count # GET /artist?rows=2&with=count # Vary: Accept # Content-Length: 594 # Content-Type: application/hal+json # --- Name: get 2 rows from second 'page' # GET /artist?rows=2&page=2 # Vary: Accept # Content-Length: 569 # Content-Type: application/hal+json ok 1 - 11-paging-hal.t output in t/11-paging-hal.got matches t/11-paging-hal.exp 1..1 ok 2 - ===== Paging ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebfd88), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebffc8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f136f8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f136f8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f289f8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25324b0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f289f8), Moose::Meta::Instance=HASH(0x132e1a0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25324b0), HASH(0x2586208)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dc48), HASH(0x2586208)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dc48), HASH(0x2586208)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dc48), HASH(0x2586208)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e21b08)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e21b08)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e21b08)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3da0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/12-searching-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/12-searching-core.t .... importing fixtures - deleting existing temp directory /tmp/FuzNIu7ywE - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Paging ===== # --- Config: # --- Name: get 1 row from set by qualifying the key # GET /artist?me.artistid=2 # Vary: Accept # Content-Length: 68 # Content-Type: application/json # --- Name: get specific rows via json array # GET /artist?me.artistid~json=%5B1%2C3%5D # Vary: Accept # Content-Length: 134 # Content-Type: application/json # --- Name: get specific rows via json qualifier expression # GET /artist?me.artistid~json=%7B%22%3C%3D%22%3A2%7D # Vary: Accept # Content-Length: 138 # Content-Type: application/json # --- Name: get no rows, empty set, due to qualifier that matches none # GET /artist?me.artistid=999999 # Vary: Accept # Content-Length: 2 # Content-Type: application/json # --- Name: invalid request due to qualifying by non-existant field ok 1 # skip need to add post-processing of the error result ok 2 - 12-searching-core.t output in t/12-searching-core.got matches t/12-searching-core.exp 1..2 ok 2 - ===== Paging ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebff78), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec01b8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f13918), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f13918), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28c18), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532730)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28c18), Moose::Meta::Instance=HASH(0x132e220), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532730), HASH(0x2586488)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dcc8), HASH(0x2586488)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dcc8), HASH(0x2586488)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dcc8), HASH(0x2586488)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585840)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585840)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2585840)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3ea0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/12-searching-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/12-searching-hal.t ..... importing fixtures - deleting existing temp directory /tmp/ABfqlSnmG6 - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Paging ===== # --- Config: # --- Name: get 1 row from set by qualifying the key # GET /artist?me.artistid=2 # Vary: Accept # Content-Length: 301 # Content-Type: application/hal+json # --- Name: get specific rows via json array # GET /artist?me.artistid~json=%5B1%2C3%5D # Vary: Accept # Content-Length: 487 # Content-Type: application/hal+json # --- Name: get specific rows via json qualifier expression # GET /artist?me.artistid~json=%7B%22%3C%3D%22%3A2%7D # Vary: Accept # Content-Length: 502 # Content-Type: application/hal+json # --- Name: get no rows, empty set, due to qualifier that matches none # GET /artist?me.artistid=999999 # Vary: Accept # Content-Length: 135 # Content-Type: application/hal+json # --- Name: invalid request due to qualifying by non-existant field ok 1 # skip need to add post-processing of the error result ok 2 - 12-searching-hal.t output in t/12-searching-hal.got matches t/12-searching-hal.exp 1..2 ok 2 - ===== Paging ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebfff8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec0238), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f139d8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f139d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28cd8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532810)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28cd8), Moose::Meta::Instance=HASH(0x132e390), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532810), HASH(0x2586568)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132de38), HASH(0x2586568)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132de38), HASH(0x2586568)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132de38), HASH(0x2586568)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585920)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585920)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2585920)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3f90)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/13-fields-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/13-fields-core.t ....... importing fixtures - deleting existing temp directory /tmp/b11GlpzjmU - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Get with fields param ===== # GET /artist?fields=artistid,name ok 1 ok 2 - response is a ref ok 3 - /artist data looks sane ok 4 - rank fields not preset # GET /artist/1?fields=artistid,name ok 5 ok 6 - response is a ref ok 7 - data isn't a hash ok 8 - set has less than 2 attributes ok 9 - artistid ok 10 - data matches # GET /artist/2?fields=artistid,rank ok 11 ok 12 - response is a ref ok 13 - data isn't a hash ok 14 - set has less than 2 attributes ok 15 - artistid ok 16 - has rank field 1..16 ok 2 - ===== Get with fields param ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0068), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec02a8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f139e8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f139e8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28c98), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25327b0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28c98), Moose::Meta::Instance=HASH(0x132e420), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25327b0), HASH(0x25864f8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dec8), HASH(0x25864f8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dec8), HASH(0x25864f8)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dec8), HASH(0x25864f8)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25858b0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25858b0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25858b0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc4030)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/13-fields-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/13-fields-hal.t ........ importing fixtures - deleting existing temp directory /tmp/7aZV8hBTRa - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Get with fields param ===== # GET /artist?fields=artistid,name ok 1 ok 2 - response is a ref ok 3 - data isn't a hash ok 4 - _embedded isn't hash ok 5 - _embedded has artist array ok 6 - set has at least 2 items ok 7 - /artist includes 1 ok 8 - /artist includes 2 ok 9 - /artist includes 3 ok 10 - /artist data looks sane ok 11 - rank fields not preset # GET /artist/1?fields=artistid,name ok 12 ok 13 - response is a ref ok 14 - data isn't a hash ok 15 - set has less than 2 attributes ok 16 - artistid ok 17 - data matches # GET /artist/2?fields=artistid,rank ok 18 ok 19 - response is a ref ok 20 - data isn't a hash ok 21 - set has less than 2 attributes ok 22 - artistid ok 23 - has rank field 1..23 ok 2 - ===== Get with fields param ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebf8d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfb18), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), Moose::Meta::Instance=HASH(0x132e100), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dba8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3980)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/14-distinct-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/14-distinct-core.t ..... importing fixtures - deleting existing temp directory /tmp/A_3UuyLFNO - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== GET distinct ===== # GET /cd?fields=year&order=year&distinct=1 ok 1 ok 2 - response is a ref ok 3 1..3 ok 2 - ===== GET distinct ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebf9f8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfc38), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f133e8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f133e8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f286f8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25323d0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f286f8), Moose::Meta::Instance=HASH(0x132e140), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25323d0), HASH(0x2586118)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2586118)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2586118)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2586118)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25854d0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25854d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25854d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3ab0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/14-distinct-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/14-distinct-hal.t ...... importing fixtures - deleting existing temp directory /tmp/asEg_1oioe - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== GET distinct ===== # GET /cd?fields=year&order=year&distinct=1 ok 1 ok 2 - response is a ref ok 3 - data isn't a hash ok 4 - _embedded isn't hash ok 5 - _embedded has cd array ok 6 - set has at least 4 items ok 7 - set has at most 4 items ok 8 1..8 ok 2 - ===== GET distinct ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebfb88), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfdc8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f13588), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f13588), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28838), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25322d0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28838), Moose::Meta::Instance=HASH(0x132e190), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x25322d0), HASH(0x2586018)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dc38), HASH(0x2586018)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dc38), HASH(0x2586018)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dc38), HASH(0x2586018)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25853d0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25853d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25853d0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3c90)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/30-ordering-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/30-ordering-core.t ..... importing fixtures - deleting existing temp directory /tmp/f8GXZOKthV - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Ordering ===== # --- Config: # --- Name: order by PK asc # GET /cd?order=me.cdid # Vary: Accept # Content-Length: 498 # Content-Type: application/json # --- Name: order by PK desc # GET /cd?order=me.cdid%20desc&fields=cdid,year # Vary: Accept # Content-Length: 126 # Content-Type: application/json # --- Name: order by year desc and title desc # GET /cd?sort=me.year%20desc,title%20desc&fields=cdid,year,title # Vary: Accept # Content-Length: 283 # Content-Type: application/json # --- Name: order by year desc and title desc using JSON API style # GET /cd?sort=-year,-title&fields=cdid,year,title # Vary: Accept # Content-Length: 283 # Content-Type: application/json ok 1 - 30-ordering-core.t output in t/30-ordering-core.got matches t/30-ordering-core.exp 1..1 ok 2 - ===== Ordering ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebfd38), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebff78), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f136d8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f136d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f289d8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532500)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f289d8), Moose::Meta::Instance=HASH(0x132e170), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532500), HASH(0x2586258)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dc18), HASH(0x2586258)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dc18), HASH(0x2586258)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dc18), HASH(0x2586258)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25857f0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25857f0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25857f0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3dc0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/30-ordering-hal.t line 4 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/30-ordering-hal.t ...... importing fixtures - deleting existing temp directory /tmp/B1NbtHU86i - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Ordering ===== # --- Config: # --- Name: order by PK asc # GET /cd?order=me.cdid # Vary: Accept # Content-Length: 1500 # Content-Type: application/hal+json # --- Name: order by PK desc # GET /cd?order=me.cdid%20desc # Vary: Accept # Content-Length: 1500 # Content-Type: application/hal+json # --- Name: order by year desc and title desc # GET /cd?sort=me.year%20desc,title%20desc # Vary: Accept # Content-Length: 1500 # Content-Type: application/hal+json # --- Name: order by field in a relation (and the primary set for test stability) # GET /cd?prefetch=artist&sort=artist.name,cdid # Vary: Accept # Content-Length: 1955 # Content-Type: application/hal+json # --- Name: order by field in two relations # GET /cd?prefetch=artist,genre&order=-genre.name,artist.name # Vary: Accept # Content-Length: 2139 # Content-Type: application/hal+json ok 1 - 30-ordering-hal.t output in t/30-ordering-hal.got matches t/30-ordering-hal.exp 1..1 ok 2 - ===== Ordering ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0688), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec08c8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f14018), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f14018), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29018), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f40)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29018), Moose::Meta::Instance=HASH(0x132e9a0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f40), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e448), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e448), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e448), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e22368)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e22368)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e22368)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc4560)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/40-prefetch-hal.t line 7 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key # Failed test '40-prefetch-hal.t output in t/40-prefetch-hal.got matches t/40-prefetch-hal.exp' # at t/lib/TestDS.pm line 67. # +----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ # | Ln|Got |Expected | # +----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ # | 1|'=== prefetch on an item using two belongs_to relationships |'=== prefetch on an item using two belongs_to relationships | # | 2|Request: |Request: | # | 3|GET /cd/1?prefetch=artist,genre |GET /cd/1?prefetch=artist,genre | # | 4|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 5|Response: |Response: | # | 6|200 OK |200 OK | # | 7|Content-type: application/hal+json |Content-type: application/hal+json | # | 8|{ |{ | # | 9| "_embedded" : { | "_embedded" : { | # | 10| "artist" : { | "artist" : { | # | 11| "artistid" : 1, | "artistid" : 1, | # | 12| "charfield" : null, | "charfield" : null, | # | 13| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 14| "rank" : 13 | "rank" : 13 | # | 15| }, | }, | # | 16| "genre" : { | "genre" : { | # | 17| "genreid" : 1, | "genreid" : 1, | # | 18| "name" : "emo" | "name" : "emo" | # | 19| } | } | # | 20| }, | }, | # | 21| "_links" : { | "_links" : { | # | 22| "artist" : { | "artist" : { | # | 23| "href" : "/artist/1" | "href" : "/artist/1" | # | 24| }, | }, | # | 25| "cd_to_producer" : { | "cd_to_producer" : { | # | 26| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 27| }, | }, | # | 28| "genre" : { | "genre" : { | # | 29| "href" : "/genre/1" | "href" : "/genre/1" | # | 30| }, | }, | # | 31| "self" : { | "self" : { | # | 32| "href" : "/cd/1" | "href" : "/cd/1" | # | 33| }, | }, | # | 34| "tracks" : { | "tracks" : { | # | 35| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 36| } | } | # | 37| }, | }, | # | 38| "artist" : 1, | "artist" : 1, | # | 39| "cdid" : 1, | "cdid" : 1, | # | 40| "genreid" : 1, | "genreid" : 1, | # | 41| "single_track" : null, | "single_track" : null, | # | 42| "title" : "Spoonful of bees", | "title" : "Spoonful of bees", | # | 43| "year" : "1999" | "year" : "1999" | # | 44|} |} | # | 45| | | # | 46|=== prefetch on a set using two belongs_to relationships |=== prefetch on a set using two belongs_to relationships | # | 47|Request: |Request: | # | 48|GET /cd?rows=2&page=1&prefetch=artist,genre |GET /cd?rows=2&page=1&prefetch=artist,genre | # | 49|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 50|Response: |Response: | # | 51|200 OK |200 OK | # | 52|Content-type: application/hal+json |Content-type: application/hal+json | # | 53|{ |{ | # | 54| "_embedded" : { | "_embedded" : { | # | 55| "cd" : [ | "cd" : [ | # | 56| { | { | # | 57| "_embedded" : { | "_embedded" : { | # | 58| "artist" : { | "artist" : { | # | 59| "artistid" : 1, | "artistid" : 1, | # | 60| "charfield" : null, | "charfield" : null, | # | 61| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 62| "rank" : 13 | "rank" : 13 | # | 63| }, | }, | # | 64| "genre" : { | "genre" : { | # | 65| "genreid" : 1, | "genreid" : 1, | # | 66| "name" : "emo" | "name" : "emo" | # | 67| } | } | # | 68| }, | }, | # | 69| "_links" : { | "_links" : { | # | 70| "artist" : { | "artist" : { | # | 71| "href" : "/artist/1" | "href" : "/artist/1" | # | 72| }, | }, | # | 73| "cd_to_producer" : { | "cd_to_producer" : { | # | 74| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 75| }, | }, | # | 76| "genre" : { | "genre" : { | # | 77| "href" : "/genre/1" | "href" : "/genre/1" | # | 78| }, | }, | # | 79| "self" : { | "self" : { | # | 80| "href" : "/cd/1" | "href" : "/cd/1" | # | 81| }, | }, | # | 82| "tracks" : { | "tracks" : { | # | 83| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 84| } | } | # | 85| }, | }, | # | 86| "artist" : 1, | "artist" : 1, | # | 87| "cdid" : 1, | "cdid" : 1, | # | 88| "genreid" : 1, | "genreid" : 1, | # | 89| "single_track" : null, | "single_track" : null, | # | 90| "title" : "Spoonful of bees", | "title" : "Spoonful of bees", | # | 91| "year" : "1999" | "year" : "1999" | # | 92| }, | }, | # | 93| { | { | # | 94| "_embedded" : { | "_embedded" : { | # | 95| "artist" : { | "artist" : { | # | 96| "artistid" : 1, | "artistid" : 1, | # | 97| "charfield" : null, | "charfield" : null, | # | 98| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 99| "rank" : 13 | "rank" : 13 | # | 100| }, | }, | # | 101| "genre" : { | "genre" : { | # | 102| "genreid" : 2, | "genreid" : 2, | # | 103| "name" : "country" | "name" : "country" | # | 104| } | } | # | 105| }, | }, | # | 106| "_links" : { | "_links" : { | # | 107| "artist" : { | "artist" : { | # | 108| "href" : "/artist/1" | "href" : "/artist/1" | # | 109| }, | }, | # | 110| "cd_to_producer" : { | "cd_to_producer" : { | # | 111| "href" : "/cd_to_producer?me.cd=2" | "href" : "/cd_to_producer?me.cd=2" | # | 112| }, | }, | # | 113| "genre" : { | "genre" : { | # | 114| "href" : "/genre/2" | "href" : "/genre/2" | # | 115| }, | }, | # | 116| "self" : { | "self" : { | # | 117| "href" : "/cd/2" | "href" : "/cd/2" | # | 118| }, | }, | # | 119| "tracks" : { | "tracks" : { | # | 120| "href" : "/track?me.cd=2" | "href" : "/track?me.cd=2" | # | 121| } | } | # | 122| }, | }, | # | 123| "artist" : 1, | "artist" : 1, | # | 124| "cdid" : 2, | "cdid" : 2, | # | 125| "genreid" : 2, | "genreid" : 2, | # | 126| "single_track" : null, | "single_track" : null, | # | 127| "title" : "Forkful of bees", | "title" : "Forkful of bees", | # | 128| "year" : "2001" | "year" : "2001" | # | 129| } | } | # | 130| ] | ] | # | 131| }, | }, | # | 132| "_links" : { | "_links" : { | # | 133| "next" : { | "next" : { | # | 134| "href" : "/cd?rows=2&page=2" | "href" : "/cd?rows=2&page=2" | # | 135| }, | }, | # | 136| "self" : { | "self" : { | # | 137| "href" : "/cd?rows=2&page=1", | "href" : "/cd?rows=2&page=1", | # | 138| "title" : "TestSchema::Result::CD" | "title" : "TestSchema::Result::CD" | # | 139| } | } | # | 140| } | } | # | 141|} |} | # | 142| | | # | 143|=== filter on prefetched relation field |=== filter on prefetched relation field | # | 144|Request: |Request: | # | 145|GET /cd?prefetch=artist&artist.name=Random+Boy+Band |GET /cd?prefetch=artist&artist.name=Random+Boy+Band | # | 146|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 147|Response: |Response: | # | 148|200 OK |200 OK | # | 149|Content-type: application/hal+json |Content-type: application/hal+json | # | 150|{ |{ | # | 151| "_embedded" : { | "_embedded" : { | # | 152| "cd" : [ | "cd" : [ | # | 153| { | { | # | 154| "_embedded" : { | "_embedded" : { | # | 155| "artist" : { | "artist" : { | # | 156| "artistid" : 2, | "artistid" : 2, | # | 157| "charfield" : null, | "charfield" : null, | # | 158| "name" : "Random Boy Band", | "name" : "Random Boy Band", | # | 159| "rank" : 13 | "rank" : 13 | # | 160| } | } | # | 161| }, | }, | # | 162| "_links" : { | "_links" : { | # | 163| "artist" : { | "artist" : { | # | 164| "href" : "/artist/2" | "href" : "/artist/2" | # | 165| }, | }, | # | 166| "cd_to_producer" : { | "cd_to_producer" : { | # | 167| "href" : "/cd_to_producer?me.cd=4" | "href" : "/cd_to_producer?me.cd=4" | # | 168| }, | }, | # | 169| "genre" : { | "genre" : { | # | 170| "href" : "/genre/3" | "href" : "/genre/3" | # | 171| }, | }, | # | 172| "self" : { | "self" : { | # | 173| "href" : "/cd/4" | "href" : "/cd/4" | # | 174| }, | }, | # | 175| "tracks" : { | "tracks" : { | # | 176| "href" : "/track?me.cd=4" | "href" : "/track?me.cd=4" | # | 177| } | } | # | 178| }, | }, | # | 179| "artist" : 2, | "artist" : 2, | # | 180| "cdid" : 4, | "cdid" : 4, | # | 181| "genreid" : 3, | "genreid" : 3, | # | 182| "single_track" : null, | "single_track" : null, | # | 183| "title" : "Generic Manufactured Singles", | "title" : "Generic Manufactured Singles", | # | 184| "year" : "2001" | "year" : "2001" | # | 185| } | } | # | 186| ] | ] | # | 187| }, | }, | # | 188| "_links" : { | "_links" : { | # | 189| "self" : { | "self" : { | # | 190| "href" : "/cd?rows=30&page=1", | "href" : "/cd?rows=30&page=1", | # | 191| "title" : "TestSchema::Result::CD" | "title" : "TestSchema::Result::CD" | # | 192| } | } | # | 193| } | } | # | 194|} |} | # | 195| | | # | 196|=== filter on prefetch with JSON |=== filter on prefetch with JSON | # | 197|Request: |Request: | # | 198|GET /cd?prefetch=artist PARAMS: artist.name~json=>{"like"=>"%Band"} |GET /cd?prefetch=artist PARAMS: artist.name~json=>{"like"=>"%Band"} | # | 199|GET /cd?prefetch=artist&artist.name~json=%7B%22like%22%3A%22%25Band%22%7D |GET /cd?prefetch=artist&artist.name~json=%7B%22like%22%3A%22%25Band%22%7D | # | 200|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 201|Response: |Response: | # | 202|200 OK |200 OK | # | 203|Content-type: application/hal+json |Content-type: application/hal+json | # | 204|{ |{ | # | 205| "_embedded" : { | "_embedded" : { | # | 206| "cd" : [ | "cd" : [ | # | 207| { | { | # | 208| "_embedded" : { | "_embedded" : { | # | 209| "artist" : { | "artist" : { | # | 210| "artistid" : 2, | "artistid" : 2, | # | 211| "charfield" : null, | "charfield" : null, | # | 212| "name" : "Random Boy Band", | "name" : "Random Boy Band", | # | 213| "rank" : 13 | "rank" : 13 | # | 214| } | } | # | 215| }, | }, | # | 216| "_links" : { | "_links" : { | # | 217| "artist" : { | "artist" : { | # | 218| "href" : "/artist/2" | "href" : "/artist/2" | # | 219| }, | }, | # | 220| "cd_to_producer" : { | "cd_to_producer" : { | # | 221| "href" : "/cd_to_producer?me.cd=4" | "href" : "/cd_to_producer?me.cd=4" | # | 222| }, | }, | # | 223| "genre" : { | "genre" : { | # | 224| "href" : "/genre/3" | "href" : "/genre/3" | # | 225| }, | }, | # | 226| "self" : { | "self" : { | # | 227| "href" : "/cd/4" | "href" : "/cd/4" | # | 228| }, | }, | # | 229| "tracks" : { | "tracks" : { | # | 230| "href" : "/track?me.cd=4" | "href" : "/track?me.cd=4" | # | 231| } | } | # | 232| }, | }, | # | 233| "artist" : 2, | "artist" : 2, | # | 234| "cdid" : 4, | "cdid" : 4, | # | 235| "genreid" : 3, | "genreid" : 3, | # | 236| "single_track" : null, | "single_track" : null, | # | 237| "title" : "Generic Manufactured Singles", | "title" : "Generic Manufactured Singles", | # | 238| "year" : "2001" | "year" : "2001" | # | 239| } | } | # | 240| ] | ] | # | 241| }, | }, | # | 242| "_links" : { | "_links" : { | # | 243| "self" : { | "self" : { | # | 244| "href" : "/cd?rows=30&page=1", | "href" : "/cd?rows=30&page=1", | # | 245| "title" : "TestSchema::Result::CD" | "title" : "TestSchema::Result::CD" | # | 246| } | } | # | 247| } | } | # | 248|} |} | # | 249| | | # | 250|=== multi type relation (has_many) in prefetch on item |=== multi type relation (has_many) in prefetch on item | # | 251|Request: |Request: | # | 252|GET /artist/1?prefetch=cds&order=cds.cdid |GET /artist/1?prefetch=cds&order=cds.cdid | # | 253|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 254|Response: |Response: | # | 255|200 OK |200 OK | # | 256|Content-type: application/hal+json |Content-type: application/hal+json | # | 257|{ |{ | # | 258| "_embedded" : { | "_embedded" : { | # | 259| "cds" : [ | "cds" : [ | # | 260| { | { | # | 261| "_links" : { | "_links" : { | # | 262| "artist" : { | "artist" : { | # | 263| "href" : "/artist/1" | "href" : "/artist/1" | # | 264| }, | }, | # | 265| "cd_to_producer" : { | "cd_to_producer" : { | # | 266| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 267| }, | }, | # | 268| "genre" : { | "genre" : { | # | 269| "href" : "/genre/1" | "href" : "/genre/1" | # | 270| }, | }, | # | 271| "self" : { | "self" : { | # | 272| "href" : "/cd/1" | "href" : "/cd/1" | # | 273| }, | }, | # | 274| "tracks" : { | "tracks" : { | # | 275| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 276| } | } | # | 277| }, | }, | # | 278| "artist" : 1, | "artist" : 1, | # | 279| "cdid" : "1", | "cdid" : "1", | # | 280| "genreid" : 1, | "genreid" : 1, | # | 281| "single_track" : null, | "single_track" : null, | # | 282| "title" : "Spoonful of bees", | "title" : "Spoonful of bees", | # | 283| "year" : "1999" | "year" : "1999" | # | 284| }, | }, | # | 285| { | { | # | 286| "_links" : { | "_links" : { | # | 287| "artist" : { | "artist" : { | # | 288| "href" : "/artist/1" | "href" : "/artist/1" | # | 289| }, | }, | # | 290| "cd_to_producer" : { | "cd_to_producer" : { | # | 291| "href" : "/cd_to_producer?me.cd=2" | "href" : "/cd_to_producer?me.cd=2" | # | 292| }, | }, | # | 293| "genre" : { | "genre" : { | # | 294| "href" : "/genre/2" | "href" : "/genre/2" | # | 295| }, | }, | # | 296| "self" : { | "self" : { | # | 297| "href" : "/cd/2" | "href" : "/cd/2" | # | 298| }, | }, | # | 299| "tracks" : { | "tracks" : { | # | 300| "href" : "/track?me.cd=2" | "href" : "/track?me.cd=2" | # | 301| } | } | # | 302| }, | }, | # | 303| "artist" : 1, | "artist" : 1, | # | 304| "cdid" : "2", | "cdid" : "2", | # | 305| "genreid" : 2, | "genreid" : 2, | # | 306| "single_track" : null, | "single_track" : null, | # | 307| "title" : "Forkful of bees", | "title" : "Forkful of bees", | # | 308| "year" : "2001" | "year" : "2001" | # | 309| }, | }, | # | 310| { | { | # | 311| "_links" : { | "_links" : { | # | 312| "artist" : { | "artist" : { | # | 313| "href" : "/artist/1" | "href" : "/artist/1" | # | 314| }, | }, | # | 315| "cd_to_producer" : { | "cd_to_producer" : { | # | 316| "href" : "/cd_to_producer?me.cd=3" | "href" : "/cd_to_producer?me.cd=3" | # | 317| }, | }, | # | 318| "genre" : { | "genre" : { | # | 319| "href" : "/genre/2" | "href" : "/genre/2" | # | 320| }, | }, | # | 321| "self" : { | "self" : { | # | 322| "href" : "/cd/3" | "href" : "/cd/3" | # | 323| }, | }, | # | 324| "tracks" : { | "tracks" : { | # | 325| "href" : "/track?me.cd=3" | "href" : "/track?me.cd=3" | # | 326| } | } | # | 327| }, | }, | # | 328| "artist" : 1, | "artist" : 1, | # | 329| "cdid" : "3", | "cdid" : "3", | # | 330| "genreid" : 2, | "genreid" : 2, | # | 331| "single_track" : null, | "single_track" : null, | # | 332| "title" : "Caterwaulin\' Blues", | "title" : "Caterwaulin\' Blues", | # | 333| "year" : "1997" | "year" : "1997" | # | 334| } | } | # | 335| ] | ] | # | 336| }, | }, | # | 337| "_links" : { | "_links" : { | # | 338| "cds" : { | "cds" : { | # | 339| "href" : "/cd?me.artist=1" | "href" : "/cd?me.artist=1" | # | 340| }, | }, | # | 341| "cds_cref_cond" : { | "cds_cref_cond" : { | # | 342| "href" : "/cd/1" | "href" : "/cd/1" | # | 343| }, | }, | # | 344| "self" : { | "self" : { | # | 345| "href" : "/artist/1" | "href" : "/artist/1" | # | 346| } | } | # | 347| }, | }, | # | 348| "artistid" : "1", | "artistid" : "1", | # | 349| "charfield" : null, | "charfield" : null, | # | 350| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 351| "rank" : 13 | "rank" : 13 | # | 352|} |} | # | 353| | | # | 354|=== multi type relation (has_many) in prefetch on set |=== multi type relation (has_many) in prefetch on set | # | 355|Request: |Request: | # | 356|GET /artist?prefetch=cds&order=me.artistid,cds.cdid&rows=2 |GET /artist?prefetch=cds&order=me.artistid,cds.cdid&rows=2 | # | 357|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 358|Response: |Response: | # | 359|200 OK |200 OK | # | 360|Content-type: application/hal+json |Content-type: application/hal+json | # | 361|{ |{ | # | 362| "_embedded" : { | "_embedded" : { | # | 363| "artist" : [ | "artist" : [ | # | 364| { | { | # | 365| "_embedded" : { | "_embedded" : { | # | 366| "cds" : [ | "cds" : [ | # | 367| { | { | # | 368| "_links" : { | "_links" : { | # | 369| "artist" : { | "artist" : { | # | 370| "href" : "/artist/1" | "href" : "/artist/1" | # | 371| }, | }, | # | 372| "cd_to_producer" : { | "cd_to_producer" : { | # | 373| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 374| }, | }, | # | 375| "genre" : { | "genre" : { | # | 376| "href" : "/genre/1" | "href" : "/genre/1" | # | 377| }, | }, | # | 378| "self" : { | "self" : { | # | 379| "href" : "/cd/1" | "href" : "/cd/1" | # | 380| }, | }, | # | 381| "tracks" : { | "tracks" : { | # | 382| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 383| } | } | # | 384| }, | }, | # | 385| "artist" : 1, | "artist" : 1, | # | 386| "cdid" : "1", | "cdid" : "1", | # | 387| "genreid" : 1, | "genreid" : 1, | # | 388| "single_track" : null, | "single_track" : null, | # | 389| "title" : "Spoonful of bees", | "title" : "Spoonful of bees", | # | 390| "year" : "1999" | "year" : "1999" | # | 391| }, | }, | # | 392| { | { | # | 393| "_links" : { | "_links" : { | # | 394| "artist" : { | "artist" : { | # | 395| "href" : "/artist/1" | "href" : "/artist/1" | # | 396| }, | }, | # | 397| "cd_to_producer" : { | "cd_to_producer" : { | # | 398| "href" : "/cd_to_producer?me.cd=2" | "href" : "/cd_to_producer?me.cd=2" | # | 399| }, | }, | # | 400| "genre" : { | "genre" : { | # | 401| "href" : "/genre/2" | "href" : "/genre/2" | # | 402| }, | }, | # | 403| "self" : { | "self" : { | # | 404| "href" : "/cd/2" | "href" : "/cd/2" | # | 405| }, | }, | # | 406| "tracks" : { | "tracks" : { | # | 407| "href" : "/track?me.cd=2" | "href" : "/track?me.cd=2" | # | 408| } | } | # | 409| }, | }, | # | 410| "artist" : 1, | "artist" : 1, | # | 411| "cdid" : "2", | "cdid" : "2", | # | 412| "genreid" : 2, | "genreid" : 2, | # | 413| "single_track" : null, | "single_track" : null, | # | 414| "title" : "Forkful of bees", | "title" : "Forkful of bees", | # | 415| "year" : "2001" | "year" : "2001" | # | 416| }, | }, | # | 417| { | { | # | 418| "_links" : { | "_links" : { | # | 419| "artist" : { | "artist" : { | # | 420| "href" : "/artist/1" | "href" : "/artist/1" | # | 421| }, | }, | # | 422| "cd_to_producer" : { | "cd_to_producer" : { | # | 423| "href" : "/cd_to_producer?me.cd=3" | "href" : "/cd_to_producer?me.cd=3" | # | 424| }, | }, | # | 425| "genre" : { | "genre" : { | # | 426| "href" : "/genre/2" | "href" : "/genre/2" | # | 427| }, | }, | # | 428| "self" : { | "self" : { | # | 429| "href" : "/cd/3" | "href" : "/cd/3" | # | 430| }, | }, | # | 431| "tracks" : { | "tracks" : { | # | 432| "href" : "/track?me.cd=3" | "href" : "/track?me.cd=3" | # | 433| } | } | # | 434| }, | }, | # | 435| "artist" : 1, | "artist" : 1, | # | 436| "cdid" : "3", | "cdid" : "3", | # | 437| "genreid" : 2, | "genreid" : 2, | # | 438| "single_track" : null, | "single_track" : null, | # | 439| "title" : "Caterwaulin\' Blues", | "title" : "Caterwaulin\' Blues", | # | 440| "year" : "1997" | "year" : "1997" | # | 441| } | } | # | 442| ] | ] | # | 443| }, | }, | # | 444| "_links" : { | "_links" : { | # | 445| "cds" : { | "cds" : { | # | 446| "href" : "/cd?me.artist=1" | "href" : "/cd?me.artist=1" | # | 447| }, | }, | # | 448| "cds_cref_cond" : { | "cds_cref_cond" : { | # | 449| "href" : "/cd/1" | "href" : "/cd/1" | # | 450| }, | }, | # | 451| "self" : { | "self" : { | # | 452| "href" : "/artist/1" | "href" : "/artist/1" | # | 453| } | } | # | 454| }, | }, | # | 455| "artistid" : "1", | "artistid" : "1", | # | 456| "charfield" : null, | "charfield" : null, | # | 457| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 458| "rank" : 13 | "rank" : 13 | # | 459| }, | }, | # | 460| { | { | # | 461| "_embedded" : { | "_embedded" : { | # | 462| "cds" : [ | "cds" : [ | # | 463| { | { | # | 464| "_links" : { | "_links" : { | # | 465| "artist" : { | "artist" : { | # | 466| "href" : "/artist/2" | "href" : "/artist/2" | # | 467| }, | }, | # | 468| "cd_to_producer" : { | "cd_to_producer" : { | # | 469| "href" : "/cd_to_producer?me.cd=4" | "href" : "/cd_to_producer?me.cd=4" | # | 470| }, | }, | # | 471| "genre" : { | "genre" : { | # | 472| "href" : "/genre/3" | "href" : "/genre/3" | # | 473| }, | }, | # | 474| "self" : { | "self" : { | # | 475| "href" : "/cd/4" | "href" : "/cd/4" | # | 476| }, | }, | # | 477| "tracks" : { | "tracks" : { | # | 478| "href" : "/track?me.cd=4" | "href" : "/track?me.cd=4" | # | 479| } | } | # | 480| }, | }, | # | 481| "artist" : 2, | "artist" : 2, | # | 482| "cdid" : "4", | "cdid" : "4", | # | 483| "genreid" : 3, | "genreid" : 3, | # | 484| "single_track" : null, | "single_track" : null, | # | 485| "title" : "Generic Manufactured Singles", | "title" : "Generic Manufactured Singles", | # | 486| "year" : "2001" | "year" : "2001" | # | 487| } | } | # | 488| ] | ] | # | 489| }, | }, | # | 490| "_links" : { | "_links" : { | # | 491| "cds" : { | "cds" : { | # | 492| "href" : "/cd?me.artist=2" | "href" : "/cd?me.artist=2" | # | 493| }, | }, | # | 494| "cds_cref_cond" : { | "cds_cref_cond" : { | # | 495| "href" : "/cd/2" | "href" : "/cd/2" | # | 496| }, | }, | # | 497| "self" : { | "self" : { | # | 498| "href" : "/artist/2" | "href" : "/artist/2" | # | 499| } | } | # | 500| }, | }, | # | 501| "artistid" : "2", | "artistid" : "2", | # | 502| "charfield" : null, | "charfield" : null, | # | 503| "name" : "Random Boy Band", | "name" : "Random Boy Band", | # | 504| "rank" : 13 | "rank" : 13 | # | 505| } | } | # | 506| ] | ] | # | 507| }, | }, | # | 508| "_links" : { | "_links" : { | # | 509| "next" : { | "next" : { | # | 510| "href" : "/artist?rows=2&page=2" | "href" : "/artist?rows=2&page=2" | # | 511| }, | }, | # | 512| "self" : { | "self" : { | # | 513| "href" : "/artist?rows=2&page=1", | "href" : "/artist?rows=2&page=1", | # | 514| "title" : "TestSchema::Result::Artist" | "title" : "TestSchema::Result::Artist" | # | 515| } | } | # | 516| } | } | # | 517|} |} | # | 518| | | # | 519|=== multi type relation in prefetch on item (many_to_many via JSON) |=== multi type relation in prefetch on item (many_to_many via JSON) | # | 520|Request: |Request: | # | 521|GET /cd/1 PARAMS: prefetch~json=>{"cd_to_producer"=>"producer"} |GET /cd/1 PARAMS: prefetch~json=>{"cd_to_producer"=>"producer"} | # | 522|GET /cd/1?prefetch~json=%7B%22cd_to_producer%22%3A%22producer%22%7D |GET /cd/1?prefetch~json=%7B%22cd_to_producer%22%3A%22producer%22%7D | # | 523|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 524|Response: |Response: | # | 525|200 OK |200 OK | # | 526|Content-type: application/hal+json |Content-type: application/hal+json | # | 527|{ |{ | # | 528| "_embedded" : { | "_embedded" : { | # | 529| "cd_to_producer" : [ | "cd_to_producer" : [ | # | 530| { | { | # | 531| "_embedded" : { | "_embedded" : { | # | 532| "producer" : { | "producer" : { | # * 533| "name" : "Bob The Builder", | "name" : "Matt S Trout", * # * 534| "producerid" : 2 | "producerid" : 1 * # | 535| } | } | # | 536| }, | }, | # | 537| "_links" : { | "_links" : { | # | 538| "cd" : { | "cd" : { | # | 539| "href" : "/cd/1" | "href" : "/cd/1" | # | 540| }, | }, | # | 541| "producer" : { | "producer" : { | # * 542| "href" : "/producer/2" | "href" : "/producer/1" * # | 543| }, | }, | # | 544| "self" : { | "self" : { | # * 545| "href" : "/cd_to_producer/1/2" | "href" : "/cd_to_producer/1/1" * # | 546| } | } | # | 547| }, | }, | # | 548| "attribute" : null, | "attribute" : null, | # | 549| "cd" : "1", | "cd" : "1", | # * 550| "producer" : "2" | "producer" : "1" * # | 551| }, | }, | # | 552| { | { | # | 553| "_embedded" : { | "_embedded" : { | # | 554| "producer" : { | "producer" : { | # * 555| "name" : "Matt S Trout", | "name" : "Bob The Builder", * # * 556| "producerid" : 1 | "producerid" : 2 * # | 557| } | } | # | 558| }, | }, | # | 559| "_links" : { | "_links" : { | # | 560| "cd" : { | "cd" : { | # | 561| "href" : "/cd/1" | "href" : "/cd/1" | # | 562| }, | }, | # | 563| "producer" : { | "producer" : { | # * 564| "href" : "/producer/1" | "href" : "/producer/2" * # | 565| }, | }, | # | 566| "self" : { | "self" : { | # * 567| "href" : "/cd_to_producer/1/1" | "href" : "/cd_to_producer/1/2" * # | 568| } | } | # | 569| }, | }, | # | 570| "attribute" : null, | "attribute" : null, | # | 571| "cd" : "1", | "cd" : "1", | # * 572| "producer" : "1" | "producer" : "2" * # | 573| }, | }, | # | 574| { | { | # | 575| "_embedded" : { | "_embedded" : { | # | 576| "producer" : { | "producer" : { | # | 577| "name" : "Fred The Phenotype", | "name" : "Fred The Phenotype", | # | 578| "producerid" : 3 | "producerid" : 3 | # | 579| } | } | # | 580| }, | }, | # | 581| "_links" : { | "_links" : { | # | 582| "cd" : { | "cd" : { | # | 583| "href" : "/cd/1" | "href" : "/cd/1" | # | 584| }, | }, | # | 585| "producer" : { | "producer" : { | # | 586| "href" : "/producer/3" | "href" : "/producer/3" | # | 587| }, | }, | # | 588| "self" : { | "self" : { | # | 589| "href" : "/cd_to_producer/1/3" | "href" : "/cd_to_producer/1/3" | # | 590| } | } | # | 591| }, | }, | # | 592| "attribute" : null, | "attribute" : null, | # | 593| "cd" : "1", | "cd" : "1", | # | 594| "producer" : "3" | "producer" : "3" | # | 595| } | } | # | 596| ] | ] | # | 597| }, | }, | # | 598| "_links" : { | "_links" : { | # | 599| "artist" : { | "artist" : { | # | 600| "href" : "/artist/1" | "href" : "/artist/1" | # | 601| }, | }, | # | 602| "cd_to_producer" : { | "cd_to_producer" : { | # | 603| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 604| }, | }, | # | 605| "genre" : { | "genre" : { | # | 606| "href" : "/genre/1" | "href" : "/genre/1" | # | 607| }, | }, | # | 608| "self" : { | "self" : { | # | 609| "href" : "/cd/1" | "href" : "/cd/1" | # | 610| }, | }, | # | 611| "tracks" : { | "tracks" : { | # | 612| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 613| } | } | # | 614| }, | }, | # | 615| "artist" : 1, | "artist" : 1, | # | 616| "cdid" : "1", | "cdid" : "1", | # | 617| "genreid" : 1, | "genreid" : 1, | # | 618| "single_track" : null, | "single_track" : null, | # | 619| "title" : "Spoonful of bees", | "title" : "Spoonful of bees", | # | 620| "year" : "1999" | "year" : "1999" | # | 621|} |} | # | 622| | | # | 623|=== filter on nested prefetch |=== filter on nested prefetch | # | 624|Request: |Request: | # | 625|GET /artist?rows=2&producer.name=Matt+S+Trout PARAMS: prefetch~json=>{"cds"=>{"cd_to_producer"=>"producer"}} cds.year~json=>{">","0996"} |GET /artist?rows=2&producer.name=Matt+S+Trout PARAMS: prefetch~json=>{"cds"=>{"cd_to_producer"=>"producer"}} cds.year~json=>{">","0996"} | # | 626|GET /artist?rows=2&producer.name=Matt+S+Trout&prefetch~json=%7B%22cds%22%3A%7B%22cd_to_producer%22%3A%22producer%22%7D%7D&cds.year~json=%7B%22%3E%22%3A%220996%22%7D |GET /artist?rows=2&producer.name=Matt+S+Trout&prefetch~json=%7B%22cds%22%3A%7B%22cd_to_producer%22%3A%22producer%22%7D%7D&cds.year~json=%7B%22%3E%22%3A%220996%22%7D | # | 627|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 628|Response: |Response: | # | 629|200 OK |200 OK | # | 630|Content-type: application/hal+json |Content-type: application/hal+json | # | 631|{ |{ | # | 632| "_embedded" : { | "_embedded" : { | # | 633| "artist" : [ | "artist" : [ | # | 634| { | { | # | 635| "_embedded" : { | "_embedded" : { | # | 636| "cds" : [ | "cds" : [ | # | 637| { | { | # | 638| "_embedded" : { | "_embedded" : { | # | 639| "cd_to_producer" : [ | "cd_to_producer" : [ | # | 640| { | { | # | 641| "_embedded" : { | "_embedded" : { | # | 642| "producer" : { | "producer" : { | # | 643| "name" : "Matt S Trout", | "name" : "Matt S Trout", | # | 644| "producerid" : 1 | "producerid" : 1 | # | 645| } | } | # | 646| }, | }, | # | 647| "_links" : { | "_links" : { | # | 648| "cd" : { | "cd" : { | # | 649| "href" : "/cd/1" | "href" : "/cd/1" | # | 650| }, | }, | # | 651| "producer" : { | "producer" : { | # | 652| "href" : "/producer/1" | "href" : "/producer/1" | # | 653| }, | }, | # | 654| "self" : { | "self" : { | # | 655| "href" : "/cd_to_producer/1/1" | "href" : "/cd_to_producer/1/1" | # | 656| } | } | # | 657| }, | }, | # | 658| "attribute" : null, | "attribute" : null, | # | 659| "cd" : "1", | "cd" : "1", | # | 660| "producer" : "1" | "producer" : "1" | # | 661| } | } | # | 662| ] | ] | # | 663| }, | }, | # | 664| "_links" : { | "_links" : { | # | 665| "artist" : { | "artist" : { | # | 666| "href" : "/artist/1" | "href" : "/artist/1" | # | 667| }, | }, | # | 668| "cd_to_producer" : { | "cd_to_producer" : { | # | 669| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 670| }, | }, | # | 671| "genre" : { | "genre" : { | # | 672| "href" : "/genre/1" | "href" : "/genre/1" | # | 673| }, | }, | # | 674| "self" : { | "self" : { | # | 675| "href" : "/cd/1" | "href" : "/cd/1" | # | 676| }, | }, | # | 677| "tracks" : { | "tracks" : { | # | 678| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 679| } | } | # | 680| }, | }, | # | 681| "artist" : 1, | "artist" : 1, | # | 682| "cdid" : "1", | "cdid" : "1", | # | 683| "genreid" : 1, | "genreid" : 1, | # | 684| "single_track" : null, | "single_track" : null, | # | 685| "title" : "Spoonful of bees", | "title" : "Spoonful of bees", | # | 686| "year" : "1999" | "year" : "1999" | # | 687| } | } | # | 688| ] | ] | # | 689| }, | }, | # | 690| "_links" : { | "_links" : { | # | 691| "cds" : { | "cds" : { | # | 692| "href" : "/cd?me.artist=1" | "href" : "/cd?me.artist=1" | # | 693| }, | }, | # | 694| "cds_cref_cond" : { | "cds_cref_cond" : { | # | 695| "href" : "/cd/1" | "href" : "/cd/1" | # | 696| }, | }, | # | 697| "self" : { | "self" : { | # | 698| "href" : "/artist/1" | "href" : "/artist/1" | # | 699| } | } | # | 700| }, | }, | # | 701| "artistid" : "1", | "artistid" : "1", | # | 702| "charfield" : null, | "charfield" : null, | # | 703| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 704| "rank" : 13 | "rank" : 13 | # | 705| } | } | # | 706| ] | ] | # | 707| }, | }, | # | 708| "_links" : { | "_links" : { | # | 709| "self" : { | "self" : { | # | 710| "href" : "/artist?rows=2&page=1", | "href" : "/artist?rows=2&page=1", | # | 711| "title" : "TestSchema::Result::Artist" | "title" : "TestSchema::Result::Artist" | # | 712| } | } | # | 713| } | } | # | 714|} |} | # | 715| | | # | 716|=== prefetch with query on ambiguous field |=== prefetch with query on ambiguous field | # | 717|Request: |Request: | # | 718|GET /cd/?me.artist=1&prefetch=artist |GET /cd/?me.artist=1&prefetch=artist | # | 719|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 720|Response: |Response: | # | 721|200 OK |200 OK | # | 722|Content-type: application/hal+json |Content-type: application/hal+json | # | 723|{ |{ | # | 724| "_embedded" : { | "_embedded" : { | # | 725| "cd" : [ | "cd" : [ | # | 726| { | { | # | 727| "_embedded" : { | "_embedded" : { | # | 728| "artist" : { | "artist" : { | # | 729| "artistid" : 1, | "artistid" : 1, | # | 730| "charfield" : null, | "charfield" : null, | # | 731| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 732| "rank" : 13 | "rank" : 13 | # | 733| } | } | # | 734| }, | }, | # | 735| "_links" : { | "_links" : { | # | 736| "artist" : { | "artist" : { | # | 737| "href" : "/artist/1" | "href" : "/artist/1" | # | 738| }, | }, | # | 739| "cd_to_producer" : { | "cd_to_producer" : { | # | 740| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 741| }, | }, | # | 742| "genre" : { | "genre" : { | # | 743| "href" : "/genre/1" | "href" : "/genre/1" | # | 744| }, | }, | # | 745| "self" : { | "self" : { | # | 746| "href" : "/cd/1" | "href" : "/cd/1" | # | 747| }, | }, | # | 748| "tracks" : { | "tracks" : { | # | 749| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 750| } | } | # | 751| }, | }, | # | 752| "artist" : 1, | "artist" : 1, | # | 753| "cdid" : 1, | "cdid" : 1, | # | 754| "genreid" : 1, | "genreid" : 1, | # | 755| "single_track" : null, | "single_track" : null, | # | 756| "title" : "Spoonful of bees", | "title" : "Spoonful of bees", | # | 757| "year" : "1999" | "year" : "1999" | # | 758| }, | }, | # | 759| { | { | # | 760| "_embedded" : { | "_embedded" : { | # | 761| "artist" : { | "artist" : { | # | 762| "artistid" : 1, | "artistid" : 1, | # | 763| "charfield" : null, | "charfield" : null, | # | 764| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 765| "rank" : 13 | "rank" : 13 | # | 766| } | } | # | 767| }, | }, | # | 768| "_links" : { | "_links" : { | # | 769| "artist" : { | "artist" : { | # | 770| "href" : "/artist/1" | "href" : "/artist/1" | # | 771| }, | }, | # | 772| "cd_to_producer" : { | "cd_to_producer" : { | # | 773| "href" : "/cd_to_producer?me.cd=2" | "href" : "/cd_to_producer?me.cd=2" | # | 774| }, | }, | # | 775| "genre" : { | "genre" : { | # | 776| "href" : "/genre/2" | "href" : "/genre/2" | # | 777| }, | }, | # | 778| "self" : { | "self" : { | # | 779| "href" : "/cd/2" | "href" : "/cd/2" | # | 780| }, | }, | # | 781| "tracks" : { | "tracks" : { | # | 782| "href" : "/track?me.cd=2" | "href" : "/track?me.cd=2" | # | 783| } | } | # | 784| }, | }, | # | 785| "artist" : 1, | "artist" : 1, | # | 786| "cdid" : 2, | "cdid" : 2, | # | 787| "genreid" : 2, | "genreid" : 2, | # | 788| "single_track" : null, | "single_track" : null, | # | 789| "title" : "Forkful of bees", | "title" : "Forkful of bees", | # | 790| "year" : "2001" | "year" : "2001" | # | 791| }, | }, | # | 792| { | { | # | 793| "_embedded" : { | "_embedded" : { | # | 794| "artist" : { | "artist" : { | # | 795| "artistid" : 1, | "artistid" : 1, | # | 796| "charfield" : null, | "charfield" : null, | # | 797| "name" : "Caterwauler McCrae", | "name" : "Caterwauler McCrae", | # | 798| "rank" : 13 | "rank" : 13 | # | 799| } | } | # | 800| }, | }, | # | 801| "_links" : { | "_links" : { | # | 802| "artist" : { | "artist" : { | # | 803| "href" : "/artist/1" | "href" : "/artist/1" | # | 804| }, | }, | # | 805| "cd_to_producer" : { | "cd_to_producer" : { | # | 806| "href" : "/cd_to_producer?me.cd=3" | "href" : "/cd_to_producer?me.cd=3" | # | 807| }, | }, | # | 808| "genre" : { | "genre" : { | # | 809| "href" : "/genre/2" | "href" : "/genre/2" | # | 810| }, | }, | # | 811| "self" : { | "self" : { | # | 812| "href" : "/cd/3" | "href" : "/cd/3" | # | 813| }, | }, | # | 814| "tracks" : { | "tracks" : { | # | 815| "href" : "/track?me.cd=3" | "href" : "/track?me.cd=3" | # | 816| } | } | # | 817| }, | }, | # | 818| "artist" : 1, | "artist" : 1, | # | 819| "cdid" : 3, | "cdid" : 3, | # | 820| "genreid" : 2, | "genreid" : 2, | # | 821| "single_track" : null, | "single_track" : null, | # | 822| "title" : "Caterwaulin\' Blues", | "title" : "Caterwaulin\' Blues", | # | 823| "year" : "1997" | "year" : "1997" | # | 824| } | } | # | 825| ] | ] | # | 826| }, | }, | # | 827| "_links" : { | "_links" : { | # | 828| "self" : { | "self" : { | # | 829| "href" : "/cd?rows=30&me.artist=1&page=1", | "href" : "/cd?rows=30&me.artist=1&page=1", | # | 830| "title" : "TestSchema::Result::CD" | "title" : "TestSchema::Result::CD" | # | 831| } | } | # | 832| } | } | # | 833|} |} | # | 834| | | # | 835|=== prefetch on invalid name |=== prefetch on invalid name | # | 836|Request: |Request: | # | 837|GET /cd/1?prefetch=nonesuch |GET /cd/1?prefetch=nonesuch | # | 838|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 839|Response: |Response: | # | 840|400 Bad Request |400 Bad Request | # | 841|Content-type: application/json |Content-type: application/json | # | 842|{ |{ | # | 843| "errors" : [ | "errors" : [ | # | 844| { | { | # | 845| "_meta" : { | "_meta" : { | # | 846| "relationship" : null, | "relationship" : null, | # | 847| "relationships" : [ | "relationships" : [ | # | 848| "artist", | "artist", | # | 849| "cd_to_producer", | "cd_to_producer", | # | 850| "existing_single_track", | "existing_single_track", | # | 851| "genre", | "genre", | # | 852| "single_track", | "single_track", | # | 853| "tracks" | "tracks" | # | 854| ] | ] | # | 855| }, | }, | # | 856| "nonesuch" : "no relationship with that name\\n" | "nonesuch" : "no relationship with that name\\n" | # | 857| } | } | # | 858| ] | ] | # | 859|} |} | # | 860| | | # | 861|=== prefetch on set with partial response of prefetched items |=== prefetch on set with partial response of prefetched items | # | 862|Request: |Request: | # | 863|GET /cd?rows=2&page=1&prefetch=artist,genre&fields=cdid,artist,genreid,genre.genreid,artist.artistid |GET /cd?rows=2&page=1&prefetch=artist,genre&fields=cdid,artist,genreid,genre.genreid,artist.artistid | # | 864|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 865|Response: |Response: | # | 866|200 OK |200 OK | # | 867|Content-type: application/hal+json |Content-type: application/hal+json | # | 868|{ |{ | # | 869| "_embedded" : { | "_embedded" : { | # | 870| "cd" : [ | "cd" : [ | # | 871| { | { | # | 872| "_embedded" : { | "_embedded" : { | # | 873| "artist" : { | "artist" : { | # | 874| "artistid" : 1 | "artistid" : 1 | # | 875| }, | }, | # | 876| "genre" : { | "genre" : { | # | 877| "genreid" : 1 | "genreid" : 1 | # | 878| } | } | # | 879| }, | }, | # | 880| "_links" : { | "_links" : { | # | 881| "artist" : { | "artist" : { | # | 882| "href" : "/artist/1" | "href" : "/artist/1" | # | 883| }, | }, | # | 884| "cd_to_producer" : { | "cd_to_producer" : { | # | 885| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 886| }, | }, | # | 887| "genre" : { | "genre" : { | # | 888| "href" : "/genre/1" | "href" : "/genre/1" | # | 889| }, | }, | # | 890| "self" : { | "self" : { | # | 891| "href" : "/cd/1" | "href" : "/cd/1" | # | 892| }, | }, | # | 893| "tracks" : { | "tracks" : { | # | 894| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 895| } | } | # | 896| }, | }, | # | 897| "artist" : 1, | "artist" : 1, | # | 898| "cdid" : 1, | "cdid" : 1, | # | 899| "genreid" : 1 | "genreid" : 1 | # | 900| }, | }, | # | 901| { | { | # | 902| "_embedded" : { | "_embedded" : { | # | 903| "artist" : { | "artist" : { | # | 904| "artistid" : 1 | "artistid" : 1 | # | 905| }, | }, | # | 906| "genre" : { | "genre" : { | # | 907| "genreid" : 2 | "genreid" : 2 | # | 908| } | } | # | 909| }, | }, | # | 910| "_links" : { | "_links" : { | # | 911| "artist" : { | "artist" : { | # | 912| "href" : "/artist/1" | "href" : "/artist/1" | # | 913| }, | }, | # | 914| "cd_to_producer" : { | "cd_to_producer" : { | # | 915| "href" : "/cd_to_producer?me.cd=2" | "href" : "/cd_to_producer?me.cd=2" | # | 916| }, | }, | # | 917| "genre" : { | "genre" : { | # | 918| "href" : "/genre/2" | "href" : "/genre/2" | # | 919| }, | }, | # | 920| "self" : { | "self" : { | # | 921| "href" : "/cd/2" | "href" : "/cd/2" | # | 922| }, | }, | # | 923| "tracks" : { | "tracks" : { | # | 924| "href" : "/track?me.cd=2" | "href" : "/track?me.cd=2" | # | 925| } | } | # | 926| }, | }, | # | 927| "artist" : 1, | "artist" : 1, | # | 928| "cdid" : 2, | "cdid" : 2, | # | 929| "genreid" : 2 | "genreid" : 2 | # | 930| } | } | # | 931| ] | ] | # | 932| }, | }, | # | 933| "_links" : { | "_links" : { | # | 934| "next" : { | "next" : { | # | 935| "href" : "/cd?rows=2&page=2" | "href" : "/cd?rows=2&page=2" | # | 936| }, | }, | # | 937| "self" : { | "self" : { | # | 938| "href" : "/cd?rows=2&page=1", | "href" : "/cd?rows=2&page=1", | # | 939| "title" : "TestSchema::Result::CD" | "title" : "TestSchema::Result::CD" | # | 940| } | } | # | 941| } | } | # | 942|} |} | # | 943| | | # | 944|=== prefetch on item with partial response of prefetched item |=== prefetch on item with partial response of prefetched item | # | 945|Request: |Request: | # | 946|GET /cd/1?prefetch=artist,genre&fields=cdid,artist,genreid,artist.artistid,genre.genreid |GET /cd/1?prefetch=artist,genre&fields=cdid,artist,genreid,artist.artistid,genre.genreid | # | 947|Accept: application/hal+json,application/json |Accept: application/hal+json,application/json | # | 948|Response: |Response: | # | 949|200 OK |200 OK | # | 950|Content-type: application/hal+json |Content-type: application/hal+json | # | 951|{ |{ | # | 952| "_embedded" : { | "_embedded" : { | # | 953| "artist" : { | "artist" : { | # | 954| "artistid" : 1 | "artistid" : 1 | # | 955| }, | }, | # | 956| "genre" : { | "genre" : { | # | 957| "genreid" : 1 | "genreid" : 1 | # | 958| } | } | # | 959| }, | }, | # | 960| "_links" : { | "_links" : { | # | 961| "artist" : { | "artist" : { | # | 962| "href" : "/artist/1" | "href" : "/artist/1" | # | 963| }, | }, | # | 964| "cd_to_producer" : { | "cd_to_producer" : { | # | 965| "href" : "/cd_to_producer?me.cd=1" | "href" : "/cd_to_producer?me.cd=1" | # | 966| }, | }, | # | 967| "genre" : { | "genre" : { | # | 968| "href" : "/genre/1" | "href" : "/genre/1" | # | 969| }, | }, | # | 970| "self" : { | "self" : { | # | 971| "href" : "/cd/1" | "href" : "/cd/1" | # | 972| }, | }, | # | 973| "tracks" : { | "tracks" : { | # | 974| "href" : "/track?me.cd=1" | "href" : "/track?me.cd=1" | # | 975| } | } | # | 976| }, | }, | # | 977| "artist" : 1, | "artist" : 1, | # | 978| "cdid" : 1, | "cdid" : 1, | # | 979| "genreid" : 1 | "genreid" : 1 | # | 980|} |} | # | 981| | | # | 982|' |' | # +----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ # Looks like you failed 1 test of 1. # Failed test '===== Prefetch =====' # at t/40-prefetch-hal.t line 20. # Looks like you failed 1 test of 2. t/40-prefetch-hal.t ...... importing fixtures - deleting existing temp directory /tmp/P3TwwNOVyB - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Prefetch ===== # --- Config: # --- Name: prefetch on an item using two belongs_to relationships # GET /cd/1?prefetch=artist,genre # Vary: Accept # Content-Length: 402 # Content-Type: application/hal+json # --- Name: prefetch on a set using two belongs_to relationships # GET /cd?rows=2&page=1&prefetch=artist,genre # Vary: Accept # Content-Length: 947 # Content-Type: application/hal+json # --- Name: filter on prefetched relation field # GET /cd?prefetch=artist&artist.name=Random+Boy+Band # Vary: Accept # Content-Length: 480 # Content-Type: application/hal+json # --- Name: filter on prefetch with JSON # GET /cd?prefetch=artist&artist.name~json=%7B%22like%22%3A%22%25Band%22%7D # Vary: Accept # Content-Length: 480 # Content-Type: application/hal+json # --- Name: multi type relation (has_many) in prefetch on item # GET /artist/1?prefetch=cds&order=cds.cdid # Vary: Accept # Content-Length: 1030 # Content-Type: application/hal+json # --- Name: multi type relation (has_many) in prefetch on set # GET /artist?prefetch=cds&order=me.artistid,cds.cdid&rows=2 # Vary: Accept # Content-Length: 1670 # Content-Type: application/hal+json # --- Name: multi type relation in prefetch on item (many_to_many via JSON) # GET /cd/1?prefetch~json=%7B%22cd_to_producer%22%3A%22producer%22%7D # Vary: Accept # Content-Length: 954 # Content-Type: application/hal+json # --- Name: filter on nested prefetch # GET /artist?rows=2&producer.name=Matt+S+Trout&prefetch~json=%7B%22cds%22%3A%7B%22cd_to_producer%22%3A%22producer%22%7D%7D&cds.year~json=%7B%22%3E%22%3A%220996%22%7D # Vary: Accept # Content-Length: 835 # Content-Type: application/hal+json # --- Name: prefetch with query on ambiguous field # GET /cd/?me.artist=1&prefetch=artist # Vary: Accept # Content-Length: 1220 # Content-Type: application/hal+json # --- Name: prefetch on invalid name # GET /cd/1?prefetch=nonesuch # Content-Length: 389 # Content-Type: application/json # --- Name: prefetch on set with partial response of prefetched items # GET /cd?rows=2&page=1&prefetch=artist,genre&fields=cdid,artist,genreid,genre.genreid,artist.artistid # Vary: Accept # Content-Length: 686 # Content-Type: application/hal+json # --- Name: prefetch on item with partial response of prefetched item # GET /cd/1?prefetch=artist,genre&fields=cdid,artist,genreid,artist.artistid,genre.genreid # Vary: Accept # Content-Length: 273 # Content-Type: application/hal+json not ok 1 - 40-prefetch-hal.t output in t/40-prefetch-hal.got matches t/40-prefetch-hal.exp 1..1 not ok 2 - ===== Prefetch ===== 1..2 Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0688), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec08c8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f14018), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f14018), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29018), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f40)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29018), Moose::Meta::Instance=HASH(0x132e9b0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f40), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e458), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e458), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e458), HASH(0x2586c98)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e22368)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e22368)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e22368)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc4560)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/40-prefetch-jsonapi.t line 7 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 Result class TestSchema::Result::CD_to_Producer has has multiple keys so relations like cd_to_producer won't have links generated. t/40-prefetch-jsonapi.t .. importing fixtures - deleting existing temp directory /tmp/q4QHEgczLW - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Prefetch ===== # --- Config: # --- Name: prefetch on an item using two belongs_to relationships # GET /cd/1?prefetch=artist,genre # Vary: Accept # Content-Length: 512 # Content-Type: application/vnd.api+json # --- Name: prefetch on a set using two belongs_to relationships # GET /cd?rows=2&page=1&prefetch=artist,genre # Vary: Accept # Content-Length: 742 # Content-Type: application/vnd.api+json # --- Name: filter on prefetched relation field # GET /cd?prefetch=artist&artist.name=Random+Boy+Band # Vary: Accept # Content-Length: 374 # Content-Type: application/vnd.api+json # --- Name: filter on prefetch with JSON # GET /cd?prefetch=artist&artist.name~json=%7B%22like%22%3A%22%25Band%22%7D # Vary: Accept # Content-Length: 374 # Content-Type: application/vnd.api+json # --- Name: multi type relation (has_many) in prefetch on item # GET /artist/1?prefetch=cds&order=cds.cdid # Vary: Accept # Content-Length: 652 # Content-Type: application/vnd.api+json # --- Name: multi type relation (has_many) in prefetch on set # GET /artist?prefetch=cds&order=me.artistid,cds.cdid&rows=2 # Vary: Accept # Content-Length: 932 # Content-Type: application/vnd.api+json # --- Name: multi type relation in prefetch on item (many_to_many via JSON) # GET /cd/1?prefetch~json=%7B%22cd_to_producer%22%3A%22producer%22%7D # Vary: Accept # Content-Length: 141 # Content-Type: application/vnd.api+json # --- Name: filter on nested prefetch # GET /artist?rows=2&producer.name=Matt+S+Trout&prefetch~json=%7B%22cds%22%3A%7B%22cd_to_producer%22%3A%22producer%22%7D%7D&cds.year~json=%7B%22%3E%22%3A%220996%22%7D # Vary: Accept # Content-Length: 377 # Content-Type: application/vnd.api+json # --- Name: prefetch with query on ambiguous field # GET /cd/?me.artist=1&prefetch=artist # Vary: Accept # Content-Length: 666 # Content-Type: application/vnd.api+json # --- Name: prefetch on invalid name # GET /cd/1?prefetch=nonesuch # Content-Length: 389 # Content-Type: application/json # --- Name: prefetch on set with partial response of prefetched items # GET /cd?rows=2&page=1&prefetch=artist,genre&fields=cdid,artist,genreid,genre.genreid,artist.artistid # Vary: Accept # Content-Length: 536 # Content-Type: application/vnd.api+json # --- Name: prefetch on item with partial response of prefetched item # GET /cd/1?prefetch=artist,genre&fields=cdid,artist,genreid,artist.artistid,genre.genreid # Vary: Accept # Content-Length: 383 # Content-Type: application/vnd.api+json ok 1 - 40-prefetch-jsonapi.t output in t/40-prefetch-jsonapi.got matches t/40-prefetch-jsonapi.exp 1..1 ok 2 - ===== Prefetch ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0808), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec0a48), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f141b8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f141b8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29468), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f70)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29468), Moose::Meta::Instance=HASH(0x132ed10), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f70), HASH(0x2586cc8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e7b8), HASH(0x2586cc8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e7b8), HASH(0x2586cc8)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e7b8), HASH(0x2586cc8)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2586080)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2586080)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2586080)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc4800)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/50-modify-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/50-modify-core.t ....... importing fixtures - deleting existing temp directory /tmp/NxU0YXoj4e - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Create - POST ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - /artist includes 1 ok 4 - /artist includes 2 ok 5 - /artist includes 3 ok 6 - /artist data looks sane # plain post # POST /artist ok 7 ok 8 - has Location header ok 9 - no data returned without prefetch # GET /artist/7 ok 10 ok 11 - response is a ref ok 12 - new item has id ok 13 - new item has new id ok 14 ok 15 # post with prefetch=self # POST /artist?prefetch=self ok 16 ok 17 - has Location header ok 18 - response is a ref # GET /artist/8 ok 19 ok 20 - response is a ref ok 21 - new item has id ok 22 - new item has new id ok 23 ok 24 ok 25 - returned prefetch matches item at location # ===== Update - PUT ===== # put without prefetch=self # PUT /artist/8 ok 26 ok 27 - no response body # GET /artist/8 ok 28 ok 29 - response is a ref ok 30 # put with prefetch=self # PUT /artist/8?prefetch=self ok 31 ok 32 - response is a ref ok 33 - has response body ok 34 - prefetch response has updated rank # GET /artist/8 ok 35 ok 36 - response is a ref ok 37 - returned prefetch matches item at location # ===== Delete - DELETE ===== # DELETE /artist/7 ok 38 ok 39 - no response body # GET /person_types/7 ok 40 # DELETE /artist/8 ok 41 ok 42 - no response body # GET /person_types/8 ok 43 1..43 ok 2 - ===== Create - POST ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0968), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec0ba8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f143d8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f143d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29648), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2533290)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29648), Moose::Meta::Instance=HASH(0x132edb0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2533290), HASH(0x2587008)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e858), HASH(0x2587008)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e858), HASH(0x2587008)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e858), HASH(0x2587008)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25865a0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x25865a0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x25865a0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc48c0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/50-modify-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/50-modify-hal.t ........ importing fixtures - deleting existing temp directory /tmp/Mf_mgmmBeu - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Create - POST ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - data isn't a hash ok 4 - _embedded isn't hash ok 5 - _embedded has artist array ok 6 - set has at least 2 items ok 7 - /artist includes 1 ok 8 - /artist includes 2 ok 9 - /artist includes 3 ok 10 - /artist data looks sane # plain post # POST /artist ok 11 ok 12 - has Location header ok 13 - no data returned without prefetch # GET /artist/7 ok 14 ok 15 - response is a ref ok 16 - new item has id ok 17 - new item has new id ok 18 ok 19 # post with prefetch=self # POST /artist?prefetch=self ok 20 ok 21 - has Location header ok 22 - response is a ref # GET /artist/8 ok 23 ok 24 - response is a ref ok 25 - new item has id ok 26 - new item has new id ok 27 ok 28 ok 29 - returned prefetch matches item at location # ===== Update - PUT ===== # put without prefetch=self # PUT /artist/8 ok 30 ok 31 - no response body # GET /artist/8 ok 32 ok 33 - response is a ref ok 34 # put with prefetch=self # PUT /artist/8?prefetch=self ok 35 ok 36 - response is a ref ok 37 - has response body ok 38 - prefetch response has updated rank # GET /artist/8 ok 39 ok 40 - response is a ref ok 41 - returned prefetch matches item at location # ===== Delete - DELETE ===== # DELETE /artist/7 ok 42 ok 43 - no response body # GET /person_types/7 ok 44 # DELETE /artist/8 ok 45 ok 46 - no response body # GET /person_types/8 ok 47 1..47 ok 2 - ===== Create - POST ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0688), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec08c8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f14048), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f14048), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29328), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f80)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f29328), Moose::Meta::Instance=HASH(0x132eab0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532f80), HASH(0x2586cd8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e558), HASH(0x2586cd8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e558), HASH(0x2586cd8)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e558), HASH(0x2586cd8)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e22458)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e22458)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e22458)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc4600)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/52-post_rel-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Track relationship next_tracks has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/52-post_rel-hal.t ...... importing fixtures - deleting existing temp directory /tmp/3xSvZ1qh_H - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Create item, with embedded items, by POST to set ===== # POST /track?rollback=1 ok 1 ok 2 - has Location header ok 3 - returns reasonable Location ok 4 - returns no data # POST /track?rollback=1&prefetch=self ok 5 ok 6 - has Location header ok 7 - response is a ref ok 8 - returns reasonable Location ok 9 - return data ok 10 - has trackid assigned ok 11 ok 12 ok 13 - has cd assigned ok 14 - has no _embedded # POST /track?rollback=1&prefetch=self,disc ok 15 ok 16 - has Location header ok 17 - response is a ref ok 18 - returns reasonable Location ok 19 - return data ok 20 - has trackid assigned ok 21 ok 22 ok 23 - has cd assigned ok 24 - has _embedded ok 25 ok 26 - has _embedded disc ok 27 - disc matches ok 28 - disc name matches 1..28 ok 2 - ===== Create item, with embedded items, by POST to set ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0268), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec04a8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f13c48), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f13c48), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28ee8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532a80)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28ee8), Moose::Meta::Instance=HASH(0x132e910), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532a80), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e3b8), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e3b8), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e3b8), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585b90)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585b90)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2585b90)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc4230)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/53-put_rel-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/53-put_rel-core.t ...... importing fixtures - deleting existing temp directory /tmp/TvcVN_j0Rs - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Update a resource and related resources via PUT ===== # --- Config: # --- Name: POST to the set to create a Track to edit (on an existing CD) # POST /track?prefetch=self # Location: /track/19 # Vary: Accept # Content-Length: 107 # Content-Type: application/json # --- Name: update the title (19 hardwired for now) and prefetch self and disc (ignored) # PUT /track/19?prefetch=self,disc # Vary: Accept # Content-Length: 115 # Content-Type: application/json # --- Name: update the track id (primary key) # PUT /track/19?prefetch=self # Vary: Accept # Content-Length: 117 # Content-Type: application/json # --- Name: delete the track we just added # DELETE /track/1900 # Vary: Accept # Content-Type: application/json ok 1 - 53-put_rel-core.t output in t/53-put_rel-core.got matches t/53-put_rel-core.exp # POST /track?prefetch=self ok 2 ok 3 - has Location header ok 4 - response is a ref # PUT /track/19?prefetch=self,disc ok 5 ok 6 - response is a ref ok 7 - return data ok 8 - has trackid assigned ok 9 ok 10 - has same position assigned # recheck data as a separate request # GET /track/19?prefetch=self,disc ok 11 ok 12 - response is a ref ok 13 - has trackid assigned ok 14 ok 15 - has same position assigned # DELETE /track/19 ok 16 1..16 ok 2 - ===== Update a resource and related resources via PUT ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec0338), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec0578), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f13c58), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f13c58), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28ef8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532a80)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28ef8), Moose::Meta::Instance=HASH(0x132e930), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532a80), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e3d8), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e3d8), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e3d8), HASH(0x25867d8)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585b90)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585b90)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2585b90)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc42b0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/53-put_rel-hal.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 TestSchema::Result::Track relationship next_tracks has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/53-put_rel-hal.t ....... importing fixtures - deleting existing temp directory /tmp/UEMw00Acki - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Update a resource and related resources via PUT ===== # --- Config: # --- Name: POST to the set to create a Track to edit (on an existing CD) # POST /track?prefetch=self # Location: /track/19 # Vary: Accept # Content-Length: 254 # Content-Type: application/hal+json # --- Name: update the title (19 hardwired for now) and prefetch self and disc # PUT /track/19?prefetch=self,disc # Vary: Accept # Content-Length: 377 # Content-Type: application/hal+json # --- Name: update the track id (primary key) # PUT /track/19?prefetch=self # Vary: Accept # Content-Length: 268 # Content-Type: application/hal+json # --- Name: delete the track we just added # DELETE /track/1900 # Vary: Accept # Content-Type: application/hal+json ok 1 - 53-put_rel-hal.t output in t/53-put_rel-hal.got matches t/53-put_rel-hal.exp # POST /track?prefetch=self ok 2 ok 3 - has Location header ok 4 - response is a ref # PUT /track/19?prefetch=self,disc ok 5 ok 6 - response is a ref ok 7 - return data ok 8 - has trackid assigned ok 9 ok 10 - has same position assigned # recheck data as a separate request # GET /track/19?prefetch=self,disc ok 11 ok 12 - response is a ref ok 13 - has trackid assigned ok 14 ok 15 - has same position assigned # DELETE /track/19 ok 16 1..16 ok 2 - ===== Update a resource and related resources via PUT ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ec02e8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ec0528), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f13c28), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f13c28), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28ef8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532a30)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28ef8), Moose::Meta::Instance=HASH(0x132e690), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532a30), HASH(0x2586788)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132e138), HASH(0x2586788)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132e138), HASH(0x2586788)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132e138), HASH(0x2586788)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585d20)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2585d20)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2585d20)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc4240)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/60-invoke-core.t line 5 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 Exception: DBIx::Class::Row::get_column(): No such column 'nonesuch' on TestSchema::Result::Artist at /data/fly1600/cpan/build/WebAPI-DBIC-0.002003-irNcU4/blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm line 57 t/60-invoke-core.t ....... importing fixtures - deleting existing temp directory /tmp/IBd2GFwzqS - creating temp dir - adding Artist - adding CD - adding CD_to_Producer - adding ClassicAlbums - adding Genre - adding Gig - adding Producer - adding Track - fixtures imported - cleaning up ok 1 - Fixtures Installed # Subtest: ===== Invoke ===== # POST /artist/1/invoke/get_column ok 1 ok 2 - response is a ref ok 3 - returns expected data # POST /artist/1/invoke/get_column ok 4 ok 5 - response is a ref ok 6 # POST /artist/1/invoke/get_column ok 7 ok 8 - response is a ref ok 9 # POST /artist/1/invoke/get_column ok 10 ok 11 - response is a ref ok 12 # POST /artist/1/invoke/get_column ok 13 1..13 ok 2 - ===== Invoke ===== 1..2 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebf8d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfb18), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), Moose::Meta::Instance=HASH(0x132e140), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3980)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/90-root-core.t line 4 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/90-root-core.t ......... # Subtest: ===== basics - specs ===== # --- Config: # --- Name: get root url as html # GET / # Location: browser/browser.html#/ # Vary: Accept # Content-Length: 0 # Content-Type: text/html # --- Config: # --- Name: get root url as plain json # GET / # Vary: Accept # Content-Length: 963 # Content-Type: application/json ok 1 - 90-root-core.t output in t/90-root-core.got matches t/90-root-core.exp 1..1 ok 1 - ===== basics - specs ===== 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x1ebf8d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x1ebfb18), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x1f132a8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x1f28588), Moose::Meta::Instance=HASH(0x132e140), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2532100), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x132dbe8), HASH(0x2585e48)) called at /home/fly1600/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x1e216f8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x1bc3980)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class") called at (eval 34) line 2 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 eval 'package main; use Test::DBIx::Class ;' called at /home/fly1600/var/megalib/ToolSet.pm line 71 ToolSet::import("TestKit") called at t/90-root-hal.t line 4 main::BEGIN() called at (eval 34) line 2 eval {...} called at (eval 34) line 2 t/90-root-hal.t .......... # Subtest: ===== basics - specs ===== # --- Config: # --- Name: get root url as html # GET / # Location: browser/browser.html#/ # Vary: Accept # Content-Length: 0 # Content-Type: text/html # --- Config: # --- Name: get root url as hal+json # GET / # Vary: Accept # Content-Length: 2126 # Content-Type: application/hal+json ok 1 - 90-root-hal.t output in t/90-root-hal.got matches t/90-root-hal.exp 1..1 ok 1 - ===== basics - specs ===== 1..1 ok t/release-pod-syntax.t ... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/40-prefetch-hal.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=25, Tests=121, 78 wallclock secs ( 0.21 usr 0.20 sys + 66.33 cusr 5.56 csys = 72.30 CPU) Result: FAIL Failed 1/25 test programs. 1/121 subtests failed. make: *** [test_dynamic] Error 255 TIMB/WebAPI-DBIC-0.002003.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TIMB/WebAPI-DBIC-0.002003.tar.gz VmSize: 251340 kB Finished 2014-12-06T14:12:31