Project

General

Profile

Actions

Bug #100931

closed

No link generated for record with language 'all languages'

Added by Albert van der Veen about 1 year ago. Updated 9 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2023-05-30
Due date:
% Done:

100%

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

Description

In function 'build' in sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php a check is done on the availability of field '_LOCALIZED_UID' in the overlay record. However, in function 'getRecordOverlay' in sysext/core/Classes/Domain/Repository/PageRepository.php the record is untouched and therefore not filled with this field when $row[$tableControl['languageField']] equals -1. This means no links are generated in the frontend for records that are supposed to be for all languages, except for the default langauge. In the code these comments are added:
// Return record for ALL languages untouched
// @todo: Fix call stack to prevent this situation in the first place


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #101718: DatabaseRecordLinkBuilder does not respect language setting for all languages (sys_language_uid = -1)Closed2023-08-21

Actions
Actions #1

Updated by Benni Mack about 1 year ago

  • Sprint Focus set to Stabilization Sprint
Actions #2

Updated by Gerrit Code Review about 1 year 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/+/79696

Actions #3

Updated by Gerrit Code Review about 1 year 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/+/79696

Actions #4

Updated by Gerrit Code Review about 1 year 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/+/79696

Actions #5

Updated by Gerrit Code Review about 1 year 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/+/79775

Actions #6

Updated by Benni Mack about 1 year ago

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

Updated by Christian Kuhn 11 months ago

  • Related to Bug #101718: DatabaseRecordLinkBuilder does not respect language setting for all languages (sys_language_uid = -1) added
Actions #8

Updated by Gerrit Code Review 6 months ago

  • Status changed from Resolved to Under Review

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

Actions #9

Updated by Gerrit Code Review 6 months ago

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

Actions #10

Updated by Benni Mack 6 months ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Benni Mack 9 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF