Zend Framework

autoloading issue in Zend_Application_Bootstrap_BootstrapAbstract::getPluginResource

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.1
  • Fix Version/s: 1.9.1
  • Component/s: Zend_Application
  • Labels:
    None

Description

There is an autoloading issue that only occurs when a module bootstrap is loaded. In my case this leads to the following warnings

Warning: include(FrontController.php) [function.include]: failed to open stream: No such file or directory in /path/to/library/Zend/Loader.php on line 83

Warning: include() [function.include]: Failed opening 'FrontController.php' for inclusion (include_path='/path/to/library:.:/usr/local/lib/php') in /path/to/library/Zend/Loader.php on line 83

I could work around this issue, when I set the second parameter of class_exists to false at Zend_Application_Bootstrap_BootstrapAbstract::getPluginResource() on line 352.

Issue Links

Activity

Hide
Dolf Schimmel (Freeaqingme) added a comment -

Did you test this against 1.8.2? I think it was resolved already (not sure though).

Show
Dolf Schimmel (Freeaqingme) added a comment - Did you test this against 1.8.2? I think it was resolved already (not sure though).
Hide
Martin Adler added a comment -

I have tested this also against 1.8.2 Release (r15776) that I've downloaded today.
This only occurs when the fallback autoloader is enabled.

Show
Martin Adler added a comment - I have tested this also against 1.8.2 Release (r15776) that I've downloaded today. This only occurs when the fallback autoloader is enabled.
Hide
Jurrien Stutterheim added a comment -

Could you try and reproduce this issue with 1.8.4? The solution to ZF-7002 might have fixed this.

Show
Jurrien Stutterheim added a comment - Could you try and reproduce this issue with 1.8.4? The solution to ZF-7002 might have fixed this.
Hide
Marian Meres added a comment -
Show
Marian Meres added a comment - I confirm that the issue is still there in 1.8.4. More here: http://www.nabble.com/setFallbackAutoloader(true)-causing-module-boostraps-not-load-td24113679.html#a24113679
Hide
Matthew Weier O'Phinney added a comment -

Can you confirm against current trunk? I suspect that the fix in ZF-7002 did not make it into 1.8.4 as I don't see that the fix was merged to the 1.8 release branch.

Show
Matthew Weier O'Phinney added a comment - Can you confirm against current trunk? I suspect that the fix in ZF-7002 did not make it into 1.8.4 as I don't see that the fix was merged to the 1.8 release branch.
Hide
Marian Meres added a comment -

Confirm still an issue under current r16310. ZF-6658 seem to be reporting the same...

Show
Marian Meres added a comment - Confirm still an issue under current r16310. ZF-6658 seem to be reporting the same...
Hide
Jurrien Stutterheim added a comment -

Matthew: the merge to release-1.8 is nowhere to be seen in FishEye, but I can see it in the release-1.8 code.

Show
Jurrien Stutterheim added a comment - Matthew: the merge to release-1.8 is nowhere to be seen in FishEye, but I can see it in the release-1.8 code.
Hide
Matthew Weier O'Phinney added a comment -

Patch in ZF-7224 applied to trunk and 1.9 release branch.

Show
Matthew Weier O'Phinney added a comment - Patch in ZF-7224 applied to trunk and 1.9 release branch.

People

Vote (3)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: