From: André Walker Date: Fri, 19 Aug 2011 05:10:56 +0000 (-0300) Subject: fixme and warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=94e35f0004f8ff1be9d44f8f9527c6718044729d fixme and warning --- diff --git a/lib/Catalyst/IOC/Container.pm b/lib/Catalyst/IOC/Container.pm index 7a0d65f..93e953a 100644 --- a/lib/Catalyst/IOC/Container.pm +++ b/lib/Catalyst/IOC/Container.pm @@ -648,6 +648,8 @@ sub get_all_components { for my $component ($container->get_service_list) { my $comp_service = $container->get_service($component); + warn "getting $component in $class, type $type"; + $components{$comp_service->catalyst_component_name} = $comp_service->get(ctx => $class); } } diff --git a/t/lib/TestAppCustomContainer/NoSugarContainer.pm b/t/lib/TestAppCustomContainer/NoSugarContainer.pm index 79ef2ba..14f5f34 100644 --- a/t/lib/TestAppCustomContainer/NoSugarContainer.pm +++ b/t/lib/TestAppCustomContainer/NoSugarContainer.pm @@ -31,6 +31,8 @@ sub BUILD { catalyst_component_name => 'TestAppCustomContainer::Model::RequestLifeCycle', dependencies => { application_name => depends_on( '/application_name' ), + # FIXME - this is what is blowing up everything: + # DefaultSetup needs the context. It's not getting it here! foo => depends_on('/model/DefaultSetup'), }, )