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

Extension compiler pass cannot find class

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.2.0-a2, 3.2.0-b1
    • 3.2.0-b2
    • Extensions
    • Mac OSX 10.9.5, php 5.5.18

    Description

      If an extension tries to add a custom compiler pass via /di/pass/*_pass.php, the class can't be found.

      Steps to reproduce:
      1. Create an extension, give it the compiler pass file: eg. /foo/bar/di/pass/test_pass.php
      2. Load the extension.

      Broken line:
      $filename = './ext//foo/bar/di/pass/test_pass'
      class_exists('\\foo\bar\di\pass\test_pass')

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: