Task #40989

Story #41031: Composer support for packaging

Autoloader in ClassReflection is not unregistered if reached

Added by Christian Jul Jensen almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-09-17
Priority:Must have Due date:
Assigned To:Christian Jul Jensen % Done:

100%

Category:Reflection
Target version:TYPO3 Flow Base Distribution - 2.0 beta 1
Sprint: Has patch:Yes
PHP Version: Complexity:easy

Description

The autoloader in ClassReflection that throws an exception if reached - indicating that a file could not be properly loaded for reflection - and thereby avoiding a fatal error, does not get unregistered if the situation occurs. Leaving the autoloader hanging. This causes trouble if fx. a class_exists call is made for an non-existing class.

Associated revisions

Revision dfc34e54
Added by Christian Jul Jensen almost 3 years ago

[BUGFIX] Make sure autoloader is always unregistered

ClassReflection adds an autoloader to catch cases of unresolved
classes. This autoloader needs to be unregistered reliably after
use.

Change-Id: Ic324e6a72ade81d7a36500315c42b1776f679ea4
Fixes: #40989
Releases: 1.2

History

#1 Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14654

#2 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14654

#3 Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14654

#4 Updated by Gerrit Code Review almost 3 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14654

#5 Updated by Christian Jul Jensen almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Karsten Dambekalns almost 3 years ago

  • Parent task set to #41031

Also available in: Atom PDF