-
Notifications
You must be signed in to change notification settings - Fork 15
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
composer update (install step removed packages) fails because plugin-installer invokes autoloader #38
Comments
So from reading the composer docs, I would conclude that plugin-installer should not load the regular composer autoloader because composer will setup autoloading specifically for the composer plugin so its declared dependencies can get loaded. plugin-installer loads some roundcube classes, and therefore includes |
Presumably the same issue prevents a plugin from being uninstalled:
When adding the |
Are there any updates on this issue? I can't install roundcube plugins via composer cause of this error
I have replaced the original path cause of confidence |
Possibly fixed in 0.3.4. |
Hello,
I have received reports of issues when upgrading to roundcube 1.6.0 (e.g. from 1.5.3), when the rcmcarddav plugin is also installed and upgraded during the process in the
composer update --no-dev
step. This problem will very likely apply with any other roundcube plugin installed using plugin-installer as well.The problem seems to be the following:
Running
composer update --no-dev --no-plugins
shows that the problem does not occur then, which confirms that the autoloader is loaded because of the plugin-installer code. However, I guess the plugin-installer code does some required actions and therefore this is not a valid workaround.I'm not sure if this is a problem with plugin-installer or with the composer install process itself, i.e. if composer should have updated the autoloader before calling the plugin code first, or whether the plugin code is not supposed to use the autoloader.
A full log of the composer call for reference:
The text was updated successfully, but these errors were encountered: