[+BUGFIX] Extbase (Bootstrap): Bootstrap calls initialize on reflectionService if...
authorMarc Bastian Heinrichs <heinrichs@mbh-web.de>
Tue, 18 Jan 2011 10:44:41 +0000 (10:44 +0000)
committerMarc Bastian Heinrichs <heinrichs@mbh-web.de>
Tue, 18 Jan 2011 10:44:41 +0000 (10:44 +0000)
typo3/sysext/extbase/Classes/Core/Bootstrap.php

index 38896a5..1101d8d 100644 (file)
@@ -195,7 +195,9 @@ class Tx_Extbase_Core_Bootstrap {
        protected function initializeReflection() {
                $this->reflectionService = $this->objectManager->get('Tx_Extbase_Reflection_Service');
                $this->reflectionService->setDataCache($this->cacheManager->getCache('cache_extbase_reflection'));
-               $this->reflectionService->initialize();
+               if (!$this->reflectionService->isInitialized()) {
+                       $this->reflectionService->initialize();
+               }
        }
 
        /**