Issue Bug Closed

#61292The persistent object type converter is not able to handle integers

Helmut Hummel 09/01/14, 11:38 updated 10/02/18, 11:52

Description

In TYPO3 CMS the identity of objects/ records are
integers (uids). Because of that, the persistent object
type converter should be able to convert integers to
objects, not only strings.

This allows e.g. forwarding of object identities like that:

$this->forward('edit', NULL, NULL, array('object' => $object->getUid()));

Without the need to explicitly cast the uid to a string:

$this->forward('edit', NULL, NULL, array('object' => (string)$object->getUid()));

Reviews 2