-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dependency to zend-servicemanager ? #46
Comments
I have had the same issue while installing zend-form with zend-expressive (fastroute+pimple+plates). Originally posted by @pine3ree at zendframework/zend-form#72 (comment) |
zend-form 2.10 is affected. This is bad, because my app crashes directly after autoloading. Originally posted by @mreiche at zendframework/zend-form#72 (comment) |
confirm the problem :( Originally posted by @antgubarev at zendframework/zend-form#72 (comment) |
@pine3ree is right, the polyfill and autoloading is the problem. Originally posted by @froschdesign at zendframework/zend-form#72 (comment) |
Will this be fixed, as far as I can see this problem still persists? Originally posted by @ikdekker at zendframework/zend-form#72 (comment) |
@ikdekker send a patch: nothing fixes itself in OSS :-) Originally posted by @Ocramius at zendframework/zend-form#72 (comment) |
The autoload file was removed with version 2.16.0 (#75). |
Hi,
I'm using zend-form as a standalone library (in a Symfony2 project), and I realize that since this commit (introduced in v2.8.2) there is a new autoload file which creates an alias
FormElementManager
for eitherFormElementManagerV3Polyfill
orFormElementManagerV2Polyfill
(the latter in my case).So here's my problem : when I run a
composer update
theSensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
post-update command fails with this error :Actually the command doesn't matter, the problem appears very soon during the autoload phase.
I suspect this error to be a consequence of the absence of zend-servicemanager as a non-dev dependency in the composer.json of this project.
Indeed, considering I'm using zend-form in standalone and that zend-servicemanager isn't a dependency of any of the others packages,
Zend\ServiceManager\AbstractPluginManager
doesn't exists and an error appears.I don't know if it makes sense to set zend-servicemanager as a non-dev requirement in this project, but I think it would resolve this problem (I'm not sure).
If you think it's not a good idea, please help me to find a solution because I'm pretty stucked there :-)
Originally posted by @chapa at zendframework/zend-form#72
The text was updated successfully, but these errors were encountered: