fixme and warning
André Walker [Fri, 19 Aug 2011 05:10:56 +0000 (02:10 -0300)]
lib/Catalyst/IOC/Container.pm
t/lib/TestAppCustomContainer/NoSugarContainer.pm

index 7a0d65f..93e953a 100644 (file)
@@ -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);
         }
     }
index 79ef2ba..14f5f34 100644 (file)
@@ -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'),
             },
         )