Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Server CPAN distribution.

Report information
The Basics
Id: 45709
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-Server

People
Owner: Nobody in particular
Requestors: kentfredric [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.24
Fixed in: 0.24



Subject: Documentation Ambiguity leads to confusion
With regards to discussion with kane_ on #catalyst. The correct usage forr req->xmlrpc->error is not ->error( "Error I want user to see "); as one might expect it to be. It should be ->error([ $error_code , "Error I want user to see "]); otherwise it falls back to 500 Internal Sever Error. --- [05:43:42] <kane_> jackal: $c->req->xmlrpc->error( "Error I want user to see "); [05:44:22] <kane_> jackal: looking at the source, that should be an arrayref [05:45:01] <kane_> jackal: see sub finalize in http://cpansearch.perl.org/src/MICHIEL/Catalyst-Plugin-Server-0.24/lib/Catalyst/Plugin/Server/XMLRPC.pm [05:45:38] <kane_> jackal: that should probably be documented better. Please chuck a ticket (+ doc patch would be even better) in the bug tracker mentioned in the documentation Code that demonstrates the call-time behaviour that occurs due to this convfusion: http://scsys.co.uk:8001/28048
On Mon May 04 17:39:37 2009, kentfredric@gmail.com wrote: Show quoted text
> With regards to discussion with kane_ on #catalyst. > > The correct usage forr req->xmlrpc->error > > is not > > ->error( "Error I want user to see "); > > as one might expect it to be. > > It should be > > ->error([ $error_code , "Error I want user to see "]);
Thanks, applied and to be released shortly.