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 #1

Updated by Oliver Bartsch over 3 years ago

  • TYPO3 Version changed from 10 to 11
Actions #2

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70243

Actions #3

Updated by Oliver Bartsch over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF