Project

General

Profile

Actions

Bug #103700

closed

Element Browser does not return pages_uid when referencing a page through the tree

Added by Andreas Kießling 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-04-22
Due date:
% Done:

100%

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

Description

When a page is selected from the Element Browser, the icon in the page tree only returns the uid. The button on the right returns pages_uid.
This becomes problematic when it is used in a db field with multiple allowed tables --> after saving the record the entry with only the uid is dropped.

Can be easily tested with the insert records element, see attached screenshots

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('pages');

Files

clipboard-202404222223-lqkzz.png (291 KB) clipboard-202404222223-lqkzz.png Element Browser screenshot Andreas Kießling, 2024-04-22 20:23
clipboard-202404222226-bpobk.png (48.9 KB) clipboard-202404222226-bpobk.png DOM Andreas Kießling, 2024-04-22 20:26
Actions

Also available in: Atom PDF