Hallo und guten Morgen,

ich versuche in einer Klasse auszulesen:

$typoScriptService = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Service\\TypoScriptService');
  try {
$typoscriptArray = $tsfc->tmpl->setup['plugin.']['tx_discovery.']['settings.']['orcid.']['oauth.']; $token = $typoScriptService->convertTypoScriptArrayToPlainArray($typoscriptArray);
    return $token;
  } catch (Exception $e) {
    return "";
  }

Der Code fehlt in TS, deswegen das Exceptionhandling. Dennoch kommt "OOps an error is occured" ohne Kram auf der error-console.
Ideen? Wenn der TS-Code  da ist, läuft alles wie geschmiert.

Gruss Rainer

--
Dipl.-Ing. Rainer Schleevoigt
Staats- und Universitaetsbibliothek Hamburg Carl von Ossietzky
IT, Forschung und Entwicklung
Hamburg Open Science
Von-Melle-Park 3, 20146 Hamburg
Telefon (040) 4283 88870 | Fax (040) 41345070
Mail: rainer.schleevo...@sub.uni-hamburg.de
http://www.sub.uni-hamburg.de

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

Antwort per Email an