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

Abierto
#68 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
53/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
PHP
Estrellas
35
Forks
21
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de roundcube/plugin-installer

Todos los issues de roundcube/plugin-installer

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.