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

Extension compiler pass cannot find class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-a2, 3.2.0-b1
    • Fix Version/s: 3.2.0-b2
    • Component/s: Extensions
    • Labels:
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: