Issues

ZF-10542: Zend_Soap_Client unsets options with a value of 0

Issue Type: Bug Created: 2010-10-10T09:06:05.000+0000 Last Updated: 2010-11-28T05:57:33.000+0000 Status: Resolved Fix version(s): - 1.11.1 (30/Nov/10)

Reporter: Matthew Burruss (mburruss) Assignee: Jan Pieper (jpieper) Tags: - Zend_Soap_Client

Related issues: Attachments:

Description

Zend_Soap_Client strips all options with a value of 0 from the options passed to other routines. Specifically: in file Soap/Client.php in the function getOptions() beginning at line 329: currently reads: if ($value == null) { unset($options[$key]); }

testing a value of zero against null using == returns TRUE, so this unsets all options with a valid value of zero. The specific option that brought this bug to my attention was cache_wsdl, which when set to WSDL_CACHE_NONE (0) failed to work.

Comments

Posted by Jan Pieper (jpieper) on 2010-10-28T15:18:35.000+0000

Fixed in r23266.

Posted by Ramon Henrique Ornelas (ramon) on 2010-11-28T05:56:57.000+0000

Merged to branch release 1.11 r23453.

Posted by Ramon Henrique Ornelas (ramon) on 2010-11-28T05:57:33.000+0000

Assigned fix version.

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