#61292The persistent object type converter is not able to handle integers
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()));