Actions
Bug #61292
closedThe persistent object type converter is not able to handle integers
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2014-09-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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()));
Actions