Project

General

Profile

Actions

Bug #90653

open

TCA eval with uniqueInPid: allow identical value in localized content

Added by Sebastian Klein about 4 years ago. Updated over 2 years ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2020-03-05
Due date:
% Done:

0%

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

Description

I use the TCA evaluation uniqueInPid in my extension to get unique URL fragment identifiers ("domain.com/page/#fragment") on the same subpage.

My goal is:

  • Get unique values on the same page and language.
  • Values in localized content elements can be identical to the source language.
  • Editors can still set a different value in localized content.

Is this possible with existing TCA? Do I miss a TCA setting which will enables this behaviour? Currently, my values in localized content elements are appended with numbers ("fragment0").

As far as I understand, uniqueInPid does not distinguish between the different languages. I could use l10n_mode with 'exclude' to just use the value from the source language, but then I'd not be able to set an individual value.

If a solution does not yet exist: what do you think about a new TCA setting like "uniqueWithinLanguage" to control the behaviour of uniqueInPid?


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #84267: Unique evaluation does not work with l10n_mode=excludeClosedOliver Hader2018-03-14

Actions
Related to TYPO3 Core - Bug #87038: Unique evaluation does not work with l10n_mode=exclude after editing original record againClosedBenni Mack2018-11-29

Actions
Actions

Also available in: Atom PDF