Project

General

Profile

Actions

Bug #50217

closed

Undefined offset in class loader for classes without vendor namespace

Added by Andreas Wolf over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
Start date:
2013-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

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 should check in advance if it can possibly load this class (or rather if the classname conforms to the specification for the CMS universe).

Actions

Also available in: Atom PDF