On 22 Jun 2010, at 21:15, [email protected] wrote:
"Here's the error message, on the off-chance that it means something to you: view error - file error - MyApp_Model_MyApp_Team: not found"

<snip>

Any suggestions on how to track down what might cause a VIEW ERROR like this?


I would very much guess that something is stamping on $c->stash- >{template} (or just setting is so that it isn't being automatically determined).

Dump an error page (with ?dump_info=1) from each of them and check if that stash variable is defined (and what it's set to) in each case?

If you're manually setting the template yourself (rather than letting your view do it for you) then Value::Canary may be handy to find out where it's being stamped on from. Otherwise attacking your view class with some debugging to find out how it's working out the template name (and why it's getting it wrong) is probably the way to go.

Cheers
t0m


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to