Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12030

Include config directory completely in update packages when one file is being updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-a3
    • 3.1.0-a2
    • Update system
    • None

      When updating from alpha1 to alpha2 where only the service.yml was changed, inclusion of the sub .yml files fail as they are not included in the install/update/new/config/ folder.

      Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The file "tables.yml" does not exist (in: ., /home3/starrk/public_html/area51/install/update/new/config).' in /home3/starrk/public_html/area51/vendor/symfony/config/Symfony/Component/Config/FileLocator.php:72
      Stack trace: 
      #0 /home3/starrk/public_html/area51/vendor/symfony/config/Symfony/Component/Config/Loader/FileLoader.php(70): Symfony\Component\Config\FileLocator->locate('tables.yml', '.', false) 
      #1 /home3/starrk/public_html/area51/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(97): Symfony\Component\Config\Loader\FileLoader->import('tables.yml', NULL, false, 'services.yml') 
      #2 /home3/starrk/public_html/area51/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(54): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseImports(Array, 'services.yml') 
      #3 /home3/starrk/public_html/area51/install/update/new/phpbb/di/extension/core.php(49): in /home3/starrk/public_html/area51/vendor/symfony/config/Symfony/Component/Config/Loader/FileLoader.php on line 100

            nickvergessen Joas Schilling
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: