[Catalyst] odd interaction between DBM::Deep::Hash and TT

2007-07-08 Thread Daniel McBrearty
Hi, I'm posting this to the cat list and the TT list as it seems to be of interest to both groups of users. I have a hash which is made persistent with DBM::Deep. I pass the hash straight through the controller to the template ( $c-stash-{hash} = $h; ), then iterate like this: [%- FOREACH k

[Catalyst] prefetch specific columns

2007-07-08 Thread vti
Hello. Is there any way when using 'prefetch' attribute to specify which columns to get from db? Or is there any low-level way to change SQL before doing any fetches? Thanks -- vti -- Viacheslav Tikhanovskii ___ List: Catalyst@lists.rawmode.org

[Catalyst] what do you do when your app hangs without explanation?

2007-07-08 Thread Daniel McBrearty
in the middle of working on another part of the app altogether, suddenly when I start up, just trying to login causes a hang. The process takes 95% CPU, there is no debug output (not even to show the request is received). break out the debugger? I have no idea even where to put the breakpoint,

Re: [Catalyst] what do you do when your app hangs without explanation?

2007-07-08 Thread Mark Zealey
In the debugger you can just hit ctl-c when it's looping and it'll stop your program and tell you where you are, stack frames etc.. M On Sunday 08 July 2007 6:30 pm, Daniel McBrearty wrote: in the middle of working on another part of the app altogether, suddenly when I start up, just trying

[Catalyst] setup_home() bug

2007-07-08 Thread Adam Herzog
I think I stumbled across a silly bug in setup_home(), when trying to set the home directory via an ENV var for an application named something like 'MyApp::Web' instead of just 'MyApp'. It would look for the existence of MYAPP::WEB_HOME, but then try to set the home directory from

Re: [Catalyst] Duplicate session ids

2007-07-08 Thread Bill Moseley
On Sat, May 26, 2007 at 03:49:23PM -0700, mla wrote: Try changing Catalyst::Plugin::Session::finalize() to this: sub finalize { my $c = shift; $c-NEXT::finalize(@_); $c-finalize_session; } Just flipped the calls so it finalizes last. Seems to fix it. That's what .16 now