ZF-4089: Calling Zend_Rest_Client with single parameter causes "An unknown error occured. Please try again." to be returned
Description
When using Zend_Rest client with a single parameter the server incorrectly responds with An unknown error occured. Please try again.
Reproducible code is
class ExampleService
{
/**
* Say Hello
*
* @param string $who
* @return string
*/
function sayHello($who)
{
return "Hello $who, Good Day";
}
}
$client = new Zend_Rest_Client('http://localhost/web/example');
$client->sayHello('Davey')->get();
Comments
Posted by Mark Evans (sparky) on 2008-08-27T08:18:03.000+0000
Added patch for bug
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-08-31T23:57:20.000+0000
Solved in SVN r11172.
Posted by Mark Evans (sparky) on 2008-09-06T04:24:11.000+0000
This fixed isnt included as part of 1.6.0, AFAICS its only included in trunk
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-09-06T08:00:32.000+0000
Hi, Mark. Thank you for informing me. I change fix version from 1.6.0 to Next Mini Release.
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-10-20T23:36:50.000+0000
SVN r12048 will be more fit for this issue, I think. So , I change fix version from 1.6.2 to Next Mini Release.
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:30.000+0000
Changing issues in preparation for the 1.7.0 release.