Issues

ZF-4089: Calling Zend_Rest_Client with single parameter causes "An unknown error occured. Please try again." to be returned

Issue Type: Bug Created: 2008-08-27T07:43:48.000+0000 Last Updated: 2012-03-21T10:59:33.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Mark Evans (sparky) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Rest_Client

Related issues: - ZF-2215

Attachments: - ZF-4089.patch

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

<pre class="highlight">
class ExampleService
    {

    /**
     * Say Hello
     *
     * @param string $who
     * @return string
     */
    function sayHello($who)
        {
        return "Hello $who, Good Day";
        }
    }

$client = new Zend_Rest_Client('<a href="http://localhost/web/example">http://localhost/web/example</a>');
$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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts