[TYPO3-german] Gibt es in ExtBase keine Mglichkeit die Exception abzufangen? Exception while property mapping

Alexander Averbuch alav at gmx.net
Wed Dec 23 10:48:45 CET 2015


Die 404-Seite ist angelegt und konfiguriert. Und die Exception wird in der Datei typo3/sysext/extbase/Classes/Property/TypeConverter/PersistentObjectConverter.php in der Methode fetchObjectFromPersistence geworfen.

	protected function fetchObjectFromPersistence($identity, $targetType) {
		if (ctype_digit((string)$identity)) {
			$object = $this->persistenceManager->getObjectByIdentifier($identity, $targetType);
		} else {
			throw new \TYPO3\CMS\Extbase\Property\Exception\InvalidSourceException('The identity property "' . $identity . '" is no UID.', 1297931020);
		}

		if ($object === NULL) {
			throw new \TYPO3\CMS\Extbase\Property\Exception\TargetNotFoundException('Object with identity "' . print_r($identity, TRUE) . '" not found.', 1297933823);
		}

		return $object;
	}

und wieso den die 404-Seite? Ich möchte selbst die Exception abfangen. 
Es tut mir wirklich leid, aber je länger ich mich mit Extbase beschäftige, desto schlechteren  Eindruck habe ich vom Framework. So ein Sch....


More information about the TYPO3-german mailing list