Project

General

Profile

Actions

Bug #94726

closed

getRecordTitle() might return an integer

Added by Oliver Bartsch over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2021-08-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When defining the uid as label in a tables TCA, BackendUtiltiy->getRecordTitle() might return the uid as integer (I assume, this also depends on the DBMS). This can easily be verified by calling getRecordTitle for the tx_styleguide_elements_rte:

BackendUtility::getRecordTitle('tx_styleguide_elements_rte', BackendUtility::getRecord('tx_styleguide_elements_rte', $uid));
Actions

Also available in: Atom PDF