Review TYPO3_6-1 Merged

22628[BUGFIX] Class loader tries to load classes it cannot load

Stefan Neufeind CR +2 V +2 Easy +7 −0 updated 07/28/13, 19:54

Commit message

If a class file from a third-party package is loaded which does not
follow the Vendor\Product\Classname convention (e.g. Product\Classname),
the class loader still tries to access the third component of the class
name, leading to a warning (and thus an exception, depending on your
configuration).

To fix this problem, the class loader now checks in advance if it can
possibly load this class (or rather if the classname conforms to the
specification for the CMS universe).

Review

  • Code review CR +2
    • Stefan Neufeind +2
  • Verified V +2
    • Stefan Neufeind +2

Issues 1

Files 1

Review log 4

  1. Stefan Neufeind commented on patch set 1 07/27/13, 20:36

    Cherry Picked This patchset was cherry picked to change: I1cd3964b9486ea591fb373533fd6cef4e9ce3989
  2. Stefan Neufeind commented on patch set 1 07/27/13, 20:37

    straight cherrypick. imho coult be merged after a short delay (let's see if no problems occur in master imho)
  3. Stefan Neufeind voted on patch set 1 V +2 CR +2 07/28/13, 19:54

  4. Stefan Neufeind merged patch set 2 07/28/13, 19:54