Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

ServiceManager\AbstractPluginManager don't throw exception #4208

Closed
ghost opened this issue Apr 11, 2013 · 6 comments
Closed

ServiceManager\AbstractPluginManager don't throw exception #4208

ghost opened this issue Apr 11, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 11, 2013

Fatal error: Class 'Application\View\Helper\Age' not found in Zend\ServiceManager\AbstractPluginManager.php on line 170

@macnibblet
Copy link
Contributor

This is because the class was registered in the view helper manager as a invokable.

@Ocramius Ocramius self-assigned this Nov 19, 2014
@Ocramius
Copy link
Member

Closing as inapplicable: simply an RTFM issue.

@Ocramius Ocramius reopened this Nov 19, 2014
@Ocramius
Copy link
Member

Actually my fault. I misread the issue/misunderstood what is going on. A class_exist() check should indeed be built into the AbstractPluginManager as per discussion with @macnibblet

@macnibblet
Copy link
Contributor

@Ocramius tag this with enhancement

@Ocramius Ocramius added bug and removed inapplicable labels Nov 19, 2014
@Ocramius
Copy link
Member

@macnibblet actually a bug, since ZF2 should never cause runtime halting

Ocramius pushed a commit that referenced this issue Nov 19, 2014
Ocramius pushed a commit that referenced this issue Nov 19, 2014
gianarb pushed a commit to zendframework/zend-servicemanager that referenced this issue May 15, 2015
gianarb pushed a commit to zendframework/zend-servicemanager that referenced this issue May 15, 2015
@GeeH
Copy link

GeeH commented Jun 27, 2016

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html

@GeeH GeeH closed this as completed Jun 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants