Issues

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

Added patch for bug

Solved in SVN r11172.

This fixed isnt included as part of 1.6.0, AFAICS its only included in trunk

Hi, Mark. Thank you for informing me. I change fix version from 1.6.0 to Next Mini Release.

SVN r12048 will be more fit for this issue, I think. So , I change fix version from 1.6.2 to Next Mini Release.

Changing issues in preparation for the 1.7.0 release.