[BUGFIX] ObjectContainer does not support namespaces
authorAndreas Wolf <andreas.wolf@ikt-werk.de>
Tue, 14 Jun 2011 13:25:08 +0000 (15:25 +0200)
committerFelix Oertel <typo3@foertel.com>
Fri, 16 Mar 2012 22:29:37 +0000 (23:29 +0100)
commita0627a183f63da5983b4bade58636b35d9ff3eec
tree5189269673a6319fba49d716aaeeb4ff8ef0bace
parent62add5a405233b33d118d763c395e38408a018e3
[BUGFIX] ObjectContainer does not support namespaces

The object container (more specificially: the class info cache it uses)
fails when trying to get an instance of a namespaced class. This comes
from the namespace separator \, which is seen as an invalid character
for cache identifiers. Therefore the class name will be stored as sha1
hash.

Change-Id: Iaab7c635e733530dec26643078824a1d70557faf
Resolves: #27438
Releases: 1.4, 4.7, 4.8
typo3/sysext/extbase/Classes/Object/Container/Container.php
typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php
typo3/sysext/extbase/Tests/Unit/Object/Container/Fixtures/NamespaceTestclasses.php [new file with mode: 0644]