Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: 1.9.2
-
Component/s: Zend_Translate
-
Labels:None
Description
Noticed fired from Zend_Translate_Adapter_Gettext which causes phpunit to throw exception.
svn cat http://framework.zend.com/svn/framework/standard/tags/release-1.9.1/library/Zend/Translate/Adapter/Gettext.php |head -n148 |tail -n 1
$this->_data[$locale][''] = trim($this->_data[$locale]['']);
If index doesn't exist..notice is produced $this->_data[$locale]['']
Isset seems to fix the issue.
Forgot to set components