ZF2-59: Bad default path for CLDR resources in CLDR adapter

Issue Type: Bug Created: 2011-09-04T09:38:03.000+0000 Last Updated: 2012-07-09T15:31:11.000+0000 Status: Resolved Fix version(s): Reporter: Benoît Durand (intiilapa) Assignee: Benoît Durand (intiilapa) Tags: - Zend\I18n

  • cldr

Related issues: Attachments:


Some tests fail because there is a regression from the new location of CLDR data in the tree framework (ie. /resources/cldr instead of /library/Zend/Locale/Data). The default path of CLDR Data is not used in _findRoute method: the _path attribute has default value at null. It should be used the getPath method to initialize the default path.


<pre class="highlight">
$filename = __DIR__ . '/' . self::$_path . $locale . '.xml'; // line 149



<pre class="highlight">
$filename = self::getPath() . '/' . $locale . '.xml'; // line 149



Posted by Benoît Durand (intiilapa) on 2011-09-04T09:38:50.000+0000

Assign to [~thomas].

Posted by Thomas Weidner (thomas) on 2011-09-05T18:38:29.000+0000

Closing as non-issue

Please note that Zend_Locale 2.0 is still in development.

The mentioned method from the old implementation is only a placeholder which will be erased as soon as the new implementation has been finished. There is no benefit in fixing a method which will be erased soon.

Posted by Benoît Durand (intiilapa) on 2011-09-06T19:13:29.000+0000

Sanitize master in progress.

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.