Bug #40147

Task #40095: Move core to namespaces

Fix test dependency to autoloader

Added by Christian Kuhn almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-08-24
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:- Spent time: -
Target version:-
TYPO3 Version:6.0 Is Regression:
PHP Version: Sprint Focus:
Complexity:

Description

The new class_alias() mapping in the autoloader makes the autoloader behave weird if it is unregistered and registered multiple times during one call. This is the case in unit tests and can lead to fatals in other tests. For now, the it is checked if the autoloader already loaded the class alias map to no redo this again and the internal mapping is not overwritten to an empty array.

Associated revisions

Revision 3928479e
Added by Christian Kuhn almost 3 years ago

[BUGFIX] Test dependency to autoloader tests

The new class_alias() mapping in the autoloader makes the autoloader
behave weird if it is unregistered and registered multiple times during
one call. This is the case in unit tests and can lead to fatals in other
tests. For now, it is checked if the autoloader already loaded the class
alias map to no redo this and the internal mapping is not overwritten.

Change-Id: I18d501dd803ae01183bfb7eeb37a819935c99681
Resolves: #40147
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14054
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

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/14054

#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/14054

#3 Updated by Christian Kuhn almost 3 years ago

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

Also available in: Atom PDF