Hi, Russell, Interesting. I have checked and well, found no traces of a default view or anything similar to it. The app persists in working but gives out this warning message (Which has always been absent).
Any idea or documentation that I could read up to find out on how to configure a default view? thanks K. akimoto Quoting Russell Jenkins <russell.jenk...@strategicdata.com.au>: > kakim...@tpg.com.au wrote: > > > ----- extract START ------- > > > > [warn] Used regexp fallback for $c->model('myApp::View::HTML'), > which > > found 'myApp::View::HTML=HASH(0x8ef7b50)'. Relying on regexp > fallback > > behavior for component resolution is unreliable and unsafe. You > probably > > meant $c->model('myApp::View::HTML=HASH(0x8ef7b50)') instead of > > $c->model{'myApp::View::HTML'}, but if you really wanted to search, > pass > > in a regexp as the argument like so: > $c->model(qr/myApp::View::HTML/) at > > /usr/local/lib/perl5/site_perl/5.8.9/Catalyst/Action/RenderView.pm > line 56 > > [debug] Rendering template "index.tt2" > > [debug] Applying HTML page layout wrappers to index.tt2 > > > > ----- extract END ------- > > Hmmm, looks like a poor error message confusing what's going on.. > > RenderView calls $c->view(); ( with no arguments ) > Your warning gets thrown from $c->_comp_search_prefixes() from within > > the call to view(). > > I'm guessing you have a single view in myApp but have not configured > a > default view ( $c->config->{default_view} ) or set current_view or > > current_view_instance in the stash. > > Hope that helps, > Russell. > > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ > > > _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/