Issue Bug New Orphaned

#92458Creating the "same" record in live and draft workspace led to misbehaviour in recordlist

Oliver Bartsch 10/01/20, 12:06 updated 05/11/26, 14:23

Description

Given you have two site languages (Default L=0 and Translation L=1) and the page is translated in L=1.

  1. Create a new content element in L=0
  2. Switch in Workspace Draft and translate the newly created record (1.) in L=1 (Don’t publish)
  3. Switch back to Live and translate the newly created record (1.) in L=1
  4. recordlist now displays the created live record (3.)
  5. Switch back in Workspace Draft and publish the translated record (2.)
  6. Switch back to Live
  7. Now the record (2.) is displayed in recordlist although we created the translation already (3.)
  8. Switch back in Workspace Draft and remove the record from (2.)
  9. Live record (3.) is displayed again

Doing the same in page module results in having two translations for the default record in connected mode.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Creating the "same" record in live and draft workspace led to misbehaviour in recordlist Resolves: #92458 Releases: main

History 1

  1. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2026-05-11T14:23:02+00:00" > 05/11/26, 14:23 </span>

    I tested this issue with version 13,14 and 15.0.0 (latest main) and found some oddities :/
    when the results differ from version to version, I write them separately, otherwise, they’re meant to be the same on all versions tested.

    Prerequisites: TYPO3 with

    - 2 languages: italian (ID=0, default), english (ID=1)
    - a “Draft” workspace

    Test execution

    1. Create a page test-92458 on both languages
    2. LIVE worskspace, ID=0 Language -> create a CE “Header”, title “Header LIVE” let’s say its ID is 100
    3. switch to “Draft” workspace
    4. translate the CE “Header Live” (ID=100) (“Translate” connected mode)
    4.1. rename it “Header TRANSLATED IN DRAFT” and don’t publish it. It gets ID=101

    4.2. Situation in Records (List) view: 2 elements visible

    "Header LIVE" ID=100
        "Header TRANSLATED IN DRAFT" ID=101

    4.3. Situation in Layout (Page) module (Language Comparison): one element on each language

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN DRAFT” ID=101

    5. Switch to LIVE

    5.1. Situation in Records (List) view: 1 element visible

    "Header LIVE" ID=100

    5.2. Situation in Layout (Page) module (Language Comparison): 1 element visible

    Italian English
    “Header LIVE” ID=100

    6. Translate again the CE “Header Live” (ID=100) (“Translate” connected mode)
    6.1. rename it “Header TRANSLATED IN LIVE”. It gets ID=102

    6.2. Situation in Records (List) view: 2 elements visible

    "Header LIVE" ID=100
        "Header TRANSLATED IN LIVE" ID=102

    6.3. Situation in Layout (Page) module (Language Comparison): one element on each language

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN LIVE” ID=102

    7. Switch again to “Draft” workspace

    Version 13:

    7.1. Situation in Records (List) view: 2 elements visible

    "Header LIVE" ID=100
        "Header TRANSLATED IN LIVE" ID=102

    but it’s the LIVE version! Where did “Header TRANSLATED IN DRAFT” ID=101 go?

    7.2. Situation in Layout (Page) module (Language Comparison): the “English” column presents TWO CE!

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN LIVE” ID=102 “Header TRANSLATED IN DRAFT” ID=101

    Version 14:

    7.3. Situation in Records (List) view: 2 elements visible

    "Header LIVE" ID=100
        "Header TRANSLATED IN DRAFT" ID=101

    7.4. Situation in Layout (Page) module (Language Comparison): one element on each language

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN DRAFT” ID=101

    Version 15 (latest main):

    7.5. Situation in Records (List) view: 2 elements visible

    "Header LIVE" ID=100
        "Header TRANSLATED LIVE" ID=102

    why this one and not “Header TRANSLATED IN DRAFT” ID=101 ???

    7.6. Situation in Layout (Page) module (Language Comparison): one element on each language

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN DRAFT” ID=101

    8. Publish the “Header TRANSLATED IN DRAFT” ID=101 element via Publish (Workspaces) module

    Version 13:

    8.1. Situation in Records (List) view: same as 7.1.
    8.2. Situation in Layout (Page) module (Language Comparison): same as 7.2.

    Version 14:

    8.3. Situation in Records (List) view: same as 7.3.
    8.4. Situation in Layout (Page) module (Language Comparison): same as 7.4.

    Version 15 (latest main):

    8.5. Situation in Records (List) view: same as 7.5.
    8.6. Situation in Layout (Page) module (Language Comparison): same as 7.6.

    9. Switch back to LIVE workspace

    Version 13:

    9.1. Situation in Records (List) view: same as 7.1.
    9.2. Situation in Layout (Page) module (Language Comparison): same as 7.2.

    Version 14:

    9.3. Situation in Records (List) view: same as 7.3.
    9.4. Situation in Layout (Page) module (Language Comparison): same as 7.4.

    Version 15 (latest main):

    9.5. Situation in Records (List) view: same as 7.5.
    9.6. Situation in Layout (Page) module (Language Comparison): same as 7.6.

    10. Switch again to “Draft” workspace

    Version 13:

    10.1. I can delete the record “Header TRANSLATED IN DRAFT” ID=101 only from “Page” module, in “List” module it is not listed

    10.2. Situation in Records (List) view: 2 elements visible, but the translated one has striketrough

    "Header LIVE" ID=100
        -"Header TRANSLATED DRAFT"- ID=102

    I guess that I have to publish again the change?

    10.3. Situation in Layout (Page) module (Language Comparison): one element on each language

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN LIVE” ID=102

    Version 14:

    10.4. I can delete the record “Header TRANSLATED IN DRAFT” ID=101 from both “Layout” and “Records” module
    10.5. I delete it from “Layout” module

    10.6. Situation in Records (List) view: 2 elements visible, but the translated one has striketrough

    "Header LIVE" ID=100
        -"Header TRANSLATED DRAFT"- ID=102

    I guess that I have to publish again the change?

    10.7. Situation in Layout (Page) module (Language Comparison): one element on each language: the page is reloaded and now the element “Header TRANSLATED IN LIVE” ID=102 is shown

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN LIVE” ID=102

    Version 15 (latest main):

    10.8. I can only delete the record “Header TRANSLATED IN DRAFT” ID=101 only from “Layout” module because in “Records” module the element “Header TRANSLATED IN LIVE” ID=102 is listed!

    10.9. I delete it from “Layout” module

    10.10. Situation in Records (List) view: 2 elements visible, it has not changed

    "Header LIVE" ID=100
        "Header TRANSLATED LIVE" ID=102

    10.11. Situation in Layout (Page) module (Language Comparison): one element on each language: the page is reloaded and now the element “Header TRANSLATED IN LIVE” ID=102 is shown

    Italian English
    “Header LIVE” ID=100 “Header TRANSLATED IN LIVE” ID=102