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

Ouverte
#68 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
53/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
php
Domaine
devtools

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
PHP
Étoiles
35
Forks
21
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de roundcube/plugin-installer

Toutes les issues de roundcube/plugin-installer

Issues similaires

Plus d'issues PHP

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.