Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-06 Thread Zbigniew Lukasiak
On Mon, May 5, 2008 at 11:12 PM, Daniel McBrearty [EMAIL PROTECTED] wrote: If you don't want new versions of modules, then *don't upgrade them*. and when you (or a total newcomer to the language/framework) do a *new* install? and the latest greatest is broken right out of the box? looks

[Catalyst] Basic CRUD Tutorial

2008-05-06 Thread Albert Vernon Smith
I'm new to Catalyst, and am working my way through the tutorial. I'm on the BasicCRUD section, and something is not behaving as it should. I've gotten to the end of the FORMLESS SUBMISSION section, and entering the URL http://localhost:3000/books/url_create/TCPIP_Illustrated_Vol-2/5/4 works as

Re: [Catalyst] Basic CRUD Tutorial

2008-05-06 Thread Kieren Diment
On 6 May 2008, at 22:16, Albert Vernon Smith wrote: I'm new to Catalyst, and am working my way through the tutorial. I'm on the BasicCRUD section, and something is not behaving as it should. I've gotten to the end of the FORMLESS SUBMISSION section, and entering the URL

Re: [Catalyst] Basic CRUD Tutorial

2008-05-06 Thread Albert Vernon Smith
The reference implementation works as it should. There are not diff changes between my implementation and the tutorial for both lib/MyApp/Controller/Books.pm, root/src/books/create_done.tt2. -albert On Tue, May 6, 2008 at 12:25 PM, Kieren Diment [EMAIL PROTECTED] wrote: On 6 May 2008, at

Re: [Catalyst] Basic CRUD Tutorial

2008-05-06 Thread Albert Vernon Smith
I have figured out the issue. Since the reference installation worked, I obviously had no grander software problem. I then replaced files one-by-one to find the issue. By doing that, I could see that the file lib/MyApp/View/TT.pm was missing a config definition for CATALYST_VAR Looking at the

Re: [Catalyst] RFC: Catalyst::Controller::REST::DBIC

2008-05-06 Thread Peter Karman
On 05/05/2008 02:33 PM, luke saunders wrote: On Mon, May 5, 2008 at 7:28 PM, Peter Karman [EMAIL PROTECTED] wrote: On 05/05/2008 12:16 PM, J. Shirley wrote: The discussions about a better CRUD base class with REST and RPC adapters is obviously the better (best?) solution, but I

Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-06 Thread Matt S Trout
On Mon, May 05, 2008 at 03:46:09PM -0500, Jonathan Rockway wrote: * On Mon, May 05 2008, Daniel McBrearty wrote: tht's reasonable. what is not so reasonable is suddenly deciding that you are going to *croak* on something which you didn't even test for with previous releases. A

Re: [Catalyst] Re: Catalyst, utf8 in form element type text - Solved

2008-05-06 Thread Bill Moseley
On Tue, May 06, 2008 at 09:04:38AM +0200, Aristotle Pagaltzis wrote: * Bill Moseley [EMAIL PROTECTED] [2008-05-05 21:40]: form tags should have accept-charset Browsers tend to ignore that and send the form data in the same encoding as the page that the form was on. Browsers is a bit

Re[2]: [Catalyst] uri_for() doesn't encode to utf8 first argument

2008-05-06 Thread Dmitriy S. Sinyavskiy
The -diff Index: Catalyst.pm === --- Catalyst.pm (revision 7629) +++ Catalyst.pm (working copy) @@ -54,7 +54,7 @@ __PACKAGE__-mk_classdata($_) for qw/components arguments dispatcher engine log dispatcher_class - engine_class

Re: [Catalyst] uri_for() doesn't encode to utf8 first argument

2008-05-06 Thread Jonathan Rockway
* On Tue, May 06 2008, Dmitriy S. Sinyavskiy wrote: The -diff Index: Catalyst.pm === Please regenerate this diff without the whitespace changes. It is completely unreadable in the current form. Examples: - engine_class

[Catalyst] FastCGI: incomplete headers (0 bytes) received from server

2008-05-06 Thread Ryan Pack
I'm having an issue with my Catalyst app but I can only get it to break about 1 in 100 tries. The error log shows: [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: comm with server /u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl aborted: idle timeout (60 sec), referer:

Re: [Catalyst] FastCGI: incomplete headers (0 bytes) received from server

2008-05-06 Thread Jonathan Rockway
* On Tue, May 06 2008, Ryan Pack wrote: I?m having an issue with my Catalyst app but I can only get it to break about 1 in 100 tries. The error log shows: [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: comm with server

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-05-06 Thread Adam Clarke
On 07/05/2008, at 11:05 AM, Toby Corkindale wrote: Ah, I was thinking of transactions vs a REST API, eg: PUT /user/1234/account_balance?subtract=1 POST /user/4567/account_balance?add=1 Since those are two separate HTTP requests, and REST specifically states you cannot maintain state on