Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16686

Autoloading mechanism doesn't use order of active extensions

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • Future
    • 4.3.0
    • Misc
    • None

    Description

      The autoload mechanism doesn't order of active extensions. This is a problem when you want to create an extension that override a class of another one.
      The autoload will load the first class that is met (alphabetical order I think) and this maybe not be the class you want to be loaded.

      Steps to reproduce

      On a fresh install. Copy a class from an extension that is first in alphabetical order to an extension that is first in active extension.

      The autoload will load the one that is first in alphabetical order.

      Attachments

        Activity

          People

            unknown unknown
            1f3baf94-5904-4b87-8341-a99f2d4328d8@accounts.ibexa.co Matthieu Sévère
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: