Re: [Catalyst] Doc patch for ConfigLoader.

2009-05-14 Thread Tomas Doran
Louis Erickson wrote: I wrote a blog entry the other day about ConfigLoader and what the file names generated by MYAPP_CONFIG_LOCAL_SUFFIX etc. are. t0m suggested I write a patch. I've done so. Nice one! Having done that, I am confident I used the most current code. =) Applied

Re: [Catalyst] Caught exception in engine Can't call method header on an undefined value

2009-05-14 Thread Tomas Doran
Malloy wrote: What's wrong with my application? No idea, not enough info. What version of Catalyst are you using, and can you load Devel::SimpleTrace to turn this into a stack trace which will tell us what methods your actually in when you get the exception. Cheers t0m

Re: [Catalyst] Testing controller which require login.

2009-05-14 Thread Peter Karman
Louis Erickson wrote on 05/13/2009 12:07 AM: Can I just generate the cookie and put it in the cookie store directly before the query is made to the application? I can generate the cookie with the SSO library. I don't see a way to do that through either test tool. I'm coming in late on

Re: [Catalyst] Problem with objects

2009-05-14 Thread Matt S Trout
On Wed, May 13, 2009 at 03:09:54PM -0300, Naylor Garcia wrote: Hi all, I am creating a sub in the Model/IMAP.pm makes no connection with the database, but performs authentication via IMAP. But failing to call this sub in the controller. I am new to Catalyst and appreciate the help. You

Re: [Catalyst] Handling of keywords for controller methods

2009-05-14 Thread Matt S Trout
On Wed, May 13, 2009 at 08:28:22PM +0200, Roland Lammel wrote: For the records, just did my first commit for Catalyst to resolve this. Thnx for directions. Welcome to the team. I think you forgot to add yourself to

Re: [Catalyst] Testing controller which require login.

2009-05-14 Thread Louis Erickson
I'm using AuthTkt, and it works very well. Why didn't it occur to me to look at the tests for it? On Thu, 14 May 2009, Peter Karman wrote: You can see the AuthTkt tests here[0]. The my_request() function just sets $ENV{COOKIE} and lets the standard AsCGI magic work. I'm sure that's a Bad

Re: [Catalyst] Doc patch for ConfigLoader.

2009-05-14 Thread Matt S Trout
On Wed, May 13, 2009 at 10:02:36PM -0700, Louis Erickson wrote: I also began to see why it's hard to catch these, as I noticed that this behavior is documented in the existing docs if you understand how it works already. I have a bit of a rant that relates to this -

Re: [Catalyst] Caught exception in engine Can't call method header on an undefined value

2009-05-14 Thread Matt S Trout
On Thu, May 14, 2009 at 11:47:16AM +0800, Malloy wrote: What's wrong with my application? [error] Caught exception in engine Can't call method header on an undefined value at /usr/local/share/perl/5.10.0/Catalyst.pm line 1838. When get this error, I can't open the web page. Update

Re: [Catalyst] Testing controller which require login.

2009-05-14 Thread Peter Karman
Louis Erickson wrote on 05/14/2009 09:39 AM: I'm using AuthTkt, and it works very well. glad to hear it. If you're using AuthTkt, then the whole cookie this is a non-issue. Just pass the ticket as a URL param like the tests do. The plugin supports both ways (cookie and param). Why didn't

Re: [Catalyst] Installing Catalyst::Authentication::Store::DBIx::Class Breaks Catalyst

2009-05-14 Thread Collin Condray
It looks like the problem is resolved. I upgraded to the latest version of Catalyst and Authentication/Authorization started working normally. Funny how that happens. Thanks for the follow up. I appreciate it! Collin Condray condray.net On Tue, May 12, 2009 at 7:28 AM, kakim...@tpg.com.au