Since the issue was upstream, and the upstream provider has a release that corrects the issue, no further work needs to be done on the ZF side.

If you are using XCache and have the issue as reported, upgrade to XCache 1.3.0.

Posted by André Schade (toocan) on 2010-02-03T12:33:30.000+0000

We use Ubuntu 9.10 from an automated installation with stable packages and security updates. We have a policy to only use supported stable packages so I'm not able/allowed to use XCache > 1.2.2 for now.
Thank you for your efforts.

Posted by Jan Pieper (jpieper) on 2010-02-03T12:56:16.000+0000

We have the same problem. We removed not needed Zend_Exception class declaration from Zend/Exception.php to use ZF 1.10. Seems to be the only way at the moment.

Posted by André Schade (toocan) on 2010-02-03T13:16:54.000+0000

Another policy is: Do not to change the library to stay upgradable.
;-)
So we are really not able to use it at all.

@Andre: This change works under normal installs of PHP; the problem here is entirely in a 3rd party, unofficial extension to PHP -- and, as noted, newer releases to that extension correct the issue. We simply cannot target every possible extension combination possible to PHP.

If you are not using svn:externals, you can simply modify the library/Zend/Exception.php file to remove the condition.

Posted by André Schade (toocan) on 2010-02-04T05:35:22.000+0000

Thanks Matthew, but thats exactly how its implemented in your application - as an svn:externals property in your library and it will be updated/exported in the build process. In development it's ok to remove the condition...

Posted by André Schade (toocan) on 2010-02-04T05:36:14.000+0000

ups: ... how its implemented in 'our' application.

Posted by Jan Pieper (jpieper) on 2010-02-07T14:57:04.000+0000

Could this (see attached file) be a solution? (untested)

Posted by André Schade (toocan) on 2010-02-08T00:02:12.000+0000

Thanks for the path. I'll try it next week. End of this week we have a release and I don't think that it would make all happy to change the library shortly before that.
;-)