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

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

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC3
    • Fix Version/s: 3.1.0-RC4
    • Component/s: None
    • Labels:
      None

      Description

      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
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            nicofuma nicofuma
            Reporter:
            prototech prototech
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development