Du hast den Code also auch innerhalb von Flexform getestet? Eine Idee was es 
sein könnte hast du nicht? Könnte es an der TYPO3 Version liegen? Ich nutze 
TYPO3 4.6.12, also Extbase 1.4. Könnte es daran liegen?

Ich hatte noch folgende versucht:
<code>
protected $configurationManager;

function mainAction($params, $conf) {
    $this->configurationManager = 
t3lib_div::makeInstance('Tx_Extbase_Configuration_ConfigurationManagerInterface');
    $frameworkConfiguration = 
$this->configurationManager->getConfiguration(Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
    $storagePid = $frameworkConfiguration['persistence']['storagePid'];
    t3lib_div::debug($storagePid);
}
</code>

Leider auch ohne Erfolg:
"Fatal error: Cannot instantiate interface 
Tx_Extbase_Configuration_ConfigurationManagerInterface"

-----Ursprüngliche Nachricht-----
Von: typo3-german-boun...@lists.typo3.org 
[mailto:typo3-german-boun...@lists.typo3.org] Im Auftrag von Thomas Nussbaumer
Gesendet: Freitag, 12. Oktober 2012 11:36
An: typo3-german@lists.typo3.org
Betreff: Re: [TYPO3-german] Flexform Select itemsProcFunc mit Extbase inkl. 
ConfigurationManager, Repository

Wie gesagt: mit deinem Code konnte ich die meine Konfiguration abrufen. 
Das Problem muss daher bei der Konfiguration deiner Extension liegen.

Gruss. Thomas.

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an