Hi, I just found something odd when trying to inherit from a base controller. I attached the complete application and debug output. From the debug output you can clearly see that "MyApp powered by Catalyst" as well as other things appear 4 times in the output and are being duplicated. This caused some concern.
Please note that this only appears when running under fastcgi environment and lighttpd, I haven't tested the apache and standalone server does not seem to be affected. My layout is as follows: MyApp::Controller::Root MyApp::Controller::Welcome MyApp::Controller::Welcome::User ( inherits from MyApp::Controller::Welcome ) Versions of catalyst that I found affected: 5.69/5.7 Thank you.
MyApp.tar.gz
Description: application/tgz
[debug] Debug messages enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.11 |
| Catalyst::Plugin::Static::Simple 0.14 |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::FastCGI"
[debug] Found home "/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp"
[debug] Loaded Config
"/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp/myapp.yml"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| MyApp::Controller::Root | instance |
| MyApp::Controller::Welcome
| instance |
| MyApp::Controller::Welcome::User | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /default | MyApp::Controller::Root | default |
| /end | MyApp::Controller::Root | end |
| /welcome/default | MyApp::Controller::Welcome | default |
| /welcome/user/defau- | MyApp::Controller::Welcome::User | default |
| lt | | |
'----------------------+--------------------------------------+--------------'
[info] MyApp powered by Catalyst 5.7000
[debug] Debug messages enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.11 |
| Catalyst::Plugin::Static::Simple 0.14 |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::FastCGI"
[debug] Found home "/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp"
[debug] Loaded Config
"/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp/myapp.yml"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| MyApp::Controller::Root | instance |
| MyApp::Controller::Welcome | instance |
| MyApp::Controller::Welcome::User | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /default | MyApp::Controller::Root | default |
| /end | MyApp::Controller::Root | end |
| /welcome/default | MyApp::Controller::Welcome | default |
| /welcome/user/defau- | MyApp::Controller::Welcome::User | default |
| lt | | |
'----------------------+--------------------------------------+--------------'
[info] MyApp powered by Catalyst 5.7000
[debug] Debug messages enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.11 |
| Catalyst::Plugin::Static::Simple 0.14 |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::FastCGI"
[debug] Found home "/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp"
[debug] Loaded Config
"/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp/myapp.yml"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| MyApp::Controller::Root | instance |
| MyApp::Controller::Welcome | instance |
| MyApp::Controller::Welcome::User | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /default | MyApp::Controller::Root | default |
| /end | MyApp::Controller::Root | end |
| /welcome/default | MyApp::Controller::Welcome | default |
| /welcome/user/defau- | MyApp::Controller::Welcome::User | default |
| lt | | |
'----------------------+--------------------------------------+--------------'
[info] MyApp powered by Catalyst 5.7000
[debug] Debug messages enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.11 |
| Catalyst::Plugin::Static::Simple 0.14 |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::FastCGI"
[debug] Found home "/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp"
[debug] Loaded Config
"/usr/home/alex/svn/node3.grid0/sites/myapp.com/MyApp/myapp.yml"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| MyApp::Controller::Root | instance |
| MyApp::Controller::Welcome | instance |
| MyApp::Controller::Welcome::User | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /default | MyApp::Controller::Root | default |
| /end | MyApp::Controller::Root | end |
| /welcome/default | MyApp::Controller::Welcome | default |
| /welcome/user/defau- | MyApp::Controller::Welcome::User | default |
| lt | | |
'----------------------+--------------------------------------+--------------'
[info] MyApp powered by Catalyst 5.7000
_______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
