ZF-7101: Cannot call include_once('Zend/Gdata/App.php') before calling include_once('Zend/Gdata.php')

Issue Type: Bug Created: 2009-06-23T09:45:55.000+0000 Last Updated: 2009-06-23T10:12:13.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Trevor Johns (tjohns) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata

Related issues: Attachments:


In the event a user attempts to call include_once('Zend/Gdata/App.php') before calling include_once('Zend/Gdata.php'), the following error is output:

<pre class="literal">
PHP Fatal error:  Class 'Zend_Gdata_App' not found in .../library/Zend/Gdata.php on line 240
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. include_once() php shell code:1
PHP   3. require_once() .../library/Zend/Gdata/App.php:26
PHP   4. require_once() .../library/Zend/Gdata/Feed.php:0


Posted by Trevor Johns (tjohns) on 2009-06-23T10:12:13.000+0000

Fixed for trunk as r16261.

{quote} commit 53e7ee007f43122aa606b24fcd1388f1d5976c35 Author: tjohns tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba Date: Tue Jun 23 16:54:56 2009 +0000

ZF-7101: Remove dependency on Zend_Gdata_Feed in Zend_Gdata_App, since this is circular and App classes shouldn't depend on non-App classes.

Old dependency chain: Zend_Gdata_App -> Zend_Gdata_Feed -> Zend_Gdata -> Zend_Gdata_App
New dependency chain: Zend_Gdata_App -> Zend_Gdata_App_Feed

git-svn-id: <a rel="nofollow" href="">;</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

library/Zend/Gdata/App.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) {quote}

Have you found an issue?

See the Overview section for more details.


© 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.