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

Updated by Andreas Kießling 7 months ago

Additional hint: the left selector is only displayed when the element browser is launched with the Page button below the db select field.
When it is launched with the button to the right of the select field (and all allowed tables are listed/selectable), the pages records can only be selected in the right frame of the Element Browser

Actions #2

Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

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

Actions #3

Updated by Gerrit Code Review 6 months ago

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

Actions #4

Updated by Gerrit Code Review 6 months ago

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

Actions #5

Updated by Gerrit Code Review 6 months ago

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

Actions #6

Updated by Gerrit Code Review 6 months ago

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

Actions #7

Updated by Oliver Bartsch 6 months ago

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

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF