Review TYPO3_6-2 Merged

35836[BUGFIX] Avoid makeInstance calls starting with a backslash

Benni Mack CR +2 V +2 Easy +8 −0 updated 01/07/15, 08:59

Commit message

When using singletons and calling makeInstance
with a beginning backslash in the class name
(see forge example), the singleton is not
correctly used.

Like inside the class loader, makeInstance and
the Extbase object manager should check for
a beginning backslash in the string of the
class name, and throw an exception, to give developers
a hint about broken code.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2