Roundcube\Composer\ExtensionInstaller::getRoundcubemailInstallPath(): Return value must be of type string, null returned

Đang mở
#68 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
53/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
PHP
Star
35
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của roundcube/plugin-installer

Tất cả issue của roundcube/plugin-installer

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.