Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12030

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

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-a2
    • Fix Version/s: 3.1.0-a3
    • Component/s: Update system
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: