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

Importing a resource in routing.yml breaks download/file.php and ACP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-RC4
    • 3.1.0-RC3
    • None
    • None

      Importing a resource into an extension's routing.yml breaks download/file.php and the ACP. The finder is unable to locate the resource due to the extra directory... throwing the following error:

      Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The file "./..//ext/phpbb/titania/config/routes/contribution.yml" does not exist (in: ./../).' in /home/anthe/www/dev/31/phpbb3/phpBB/vendor/symfony/config/Symfony/Component/Config/FileLocator.php:72 Stack trace: #0 /home/anthe/www/dev/31/phpbb3/phpBB/vendor/symfony/routing/Symfony/Component/Routing/Loader/YamlFileLoader.php(49): Symfony\Component\Config\FileLocator->locate('./..//ext/phpbb...') #1 /home/anthe/www/dev/31/phpbb3/phpBB/vendor/symfony/config/Symfony/Component/Config/Loader/FileLoader.php(86): Symfony\Component\Routing\Loader\YamlFileLoader->load('./..//ext/phpbb...', NULL) #2 /home/anthe/www/dev/31/phpbb3/phpBB/vendor/symfony/routing/Symfony/Component/Routing/Loader/YamlFileLoader.php(153): Symfony\Component\Config\Loader\FileLoader->import('routes/contribu...', NULL, false, 'ext/phpbb/titan...') #3 /home/anthe/www/dev/31/phpbb3/phpBB/vendor/symfony/routing/Symfony/Component/Routing/Loader/YamlFileLoader.php(91): Symfony\Component\Routi in /home/anthe/www/dev/31/phpbb3/phpBB/vendor/symfony/config/Symfony/Component/Config/Loader/FileLoader.php on line 100
      

            nicofuma nicofuma
            prototech prototech [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: