Project

General

Profile

Actions

Bug #61292

closed

The persistent object type converter is not able to handle integers

Added by Helmut Hummel about 10 years ago. Updated about 6 years ago.

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()));

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #57633: FormViewHelper adds complete serialized objects to [__referrer][arguments] when forward is usedRejected2014-04-04

Actions
Actions

Also available in: Atom PDF