ZF-4994: Translate_Adapter conflict: setOption and getOption

Issue Type: Bug Created: 2008-11-19T07:43:12.000+0000 Last Updated: 2008-12-21T05:55:40.000+0000 Status: Resolved Fix version(s): - 1.7.1 (01/Dec/08)

Reporter: Bert Van Hauwaert (becoded) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate

Related issues: Attachments:


In ZF 1.6.2, when using the setOptions, there is a strtolower on the key ($this->_options[strtolower($key)] = $option;). When using the getOptions(), also the key is lower cased, so not really a big issue.

Now in Zf 1.7.0, on the setOptions, there is no strtolower anymore, but it is still there in the getOptions. So that means that if you set an options camel cased, you won't be able to get it back with the getOptions method because you still lowercase the key in the getOptions but not in the setOptions.

So please choose one way to handle the options in the set and getOptions methods.


Posted by Thomas Weidner (thomas) on 2008-11-20T09:13:36.000+0000

Fixed with r12715

Have you found an issue?

See the Overview section for more details.


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

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