Roundcube\Composer\ExtensionInstaller::getRoundcubemailInstallPath(): Return value must be of type string, null returned
还没有人认领这个 Issue。
评估
调研方向
Start by reading ExtensionInstaller.php around line 67 and trace how getRoundcubemailInstallPath() is called during plugin registration. Reproduce the failure with a fresh Roundcube 1.7.7 installation and inspect the configuration or package data available at that point. Done when the installation completes without the TypeError and the installer has a regression test for this case.
由索引模型根据 Issue 内容生成。
描述
During fresh installation of RC 1.7.7:
In ExtensionInstaller.php line 67:
[TypeError]
Roundcube\Composer\ExtensionInstaller::getRoundcubemailInstallPath(): Return value must be of type string, null returned
Exception trace:
at /xxx/vendor/roundcube/plugin-installer/src/ExtensionInstaller.php:67
Roundcube\Composer\ExtensionInstaller->getRoundcubemailInstallPath() at /xxx/vendor/roundcube/plugin-installer/src/PluginInstaller.php:12
Roundcube\Composer\PluginInstaller->getVendorDir() at /xxx/vendor/roundcube/plugin-installer/src/ExtensionInstaller.php:77
Roundcube\Composer\ExtensionInstaller->getInstallPath() at phar:///composer.phar/src/Composer/Installer/InstallationManager.php:576
Composer\Installer\InstallationManager->getInstallPath() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:635
Composer\Plugin\PluginManager->getInstallPath() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:331
Composer\Plugin\PluginManager->registerPackage() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:569
Composer\Plugin\PluginManager->loadRepository() at phar:///composer.phar/src/Composer/Plugin/PluginManager.php:110
Composer\Plugin\PluginManager->loadInstalledPlugins() at phar:///composer.phar/src/Composer/Factory.php:457
Composer\Factory->createComposer() at phar:///composer.phar/src/Composer/Factory.php:638
Composer\Factory::create() at phar:///composer.phar/src/Composer/Console/Application.php:680
Composer\Console\Application->getComposer() at phar:///composer.phar/src/Composer/Command/BaseCommand.php:131
Composer\Command\BaseCommand->tryComposer() at phar:///composer.phar/src/Composer/Command/BaseCommand.php:242
Composer\Command\BaseCommand->initialize() at phar:///composer.phar/vendor/symfony/console/Command/Command.php:264
Symfony\Component\Console\Command\Command->run() at phar:///composer.phar/vendor/symfony/console/Application.php:1040
Symfony\Component\Console\Application->doRunCommand() at phar:///composer.phar/vendor/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at phar:///composer.phar/src/Composer/Console/Application.php:504
Composer\Console\Application->doRunComposer() at phar:///composer.phar/src/Composer/Console/Application.php:169
Composer\Console\Application->doRun() at phar:///composer.phar/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///composer.phar/src/Composer/Console/Application.php:142
Composer\Console\Application->run() at phar:///composer.phar/bin/composer:112
require() at /composer.phar:29
- 主要语言
- PHP
- 星标
- 35
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
roundcube/plugin-installer 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 30/100
roundcube/plugin-installer#58 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 34/100
roundcube/plugin-installer#56 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
roundcube/plugin-installer#55 · 8 条评论 ·
-
composer update (install step removed packages) fails because plugin-installer invokes autoloader未关闭
难度 4/5 3-5 天 新手友好度 25/100
roundcube/plugin-installer#38 · 4 条评论 ·
查看 roundcube/plugin-installer 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
Automattic/static-site-importer#3462 ·
维护者通常 1 天内回复
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.php未关闭enhancement feature: settings good first issue
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
nextcloud/integration_openai#480 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
roundcube/roundcubemail#10468 ·
维护者通常 1 天内回复