Issue Bug Closed

#95910Page history does not show changes from translated pages

Jigal van Hemert 11/08/21, 14:52 updated 03/31/26, 09:00

Description

While it’s technically understandable it’s not clear for editors.

Steps to reproduce:
  • create a page and one or more translations
  • change something in the page properties and in the page properties of the translation(s)
  • use the context menu in the page tree and select “History/Undo”

The Changelog only lists changes in the page record in the default language.

If you open History/Undo on the parent page the changelog shows the changes in the sub page(s) in all languages.

Technically it’s correct that the changelog shows the changes on the page itself and the records in that page. For editors a translated page is not a separate record but a variation of the current page. They expect the changes to be listed in the changelog.

Reviews 3

Files 3

History 922

  1. Jigal van Hemert commented <span data-processor="relativetime" data-value="2022-08-09T08:46:26+00:00" > 08/09/22, 08:46 </span>

    A closer look at what the record history shows brings up more illogical choices (at least from the point of view of the editor).

    It would probably be a good solution to implement this behaviour:

    1. Because the pagetree only shows pages in the default language selecting History from the context menu should show history from:

    • the selected `pages` record
    • the translations of the selected `pages` record
    • any records in all languages which have the selected `pages` record as ‘pid’

    2. Because the Page module shows the page for a particular language selecting History from the context menu of the page in a language should show history from:

    • the selected `pages` record
    • any records in the language of the selected `pages` record that have the corresponding `pages` record in the default language as ‘pid’

    This way the editor sees the history of records in the selected language, except from the pagetree where they see the history of records of all languages.
    The context menu of the pagetree needs to be changed to communicate that history from all languages should be displayed. The RecordHistory class can act accordingly and should also assume that if the given element is a pages record that only the sub elements from the same language as the element should be gathered.

  2. Friedemann Altrock commented <span data-processor="relativetime" data-value="2025-08-07T18:24:52+00:00" > 08/07/25, 18:24 </span>

    Editors can see the history of a translated page/record by using the context (or kebab) menu of the translated item.
    The easiest “fix” would be to add the language selector dropdown similar to the edit view.

  3. Oliver Bartsch commented and changed attached record-history-1.png attached record-history-2.png attached record-history-3.png <span data-processor="relativetime" data-value="2025-08-14T08:54:35+00:00" > 08/14/25, 08:54 </span>

    Unfortunately, I’m experiencing unexpected behavior with the latest patchset (https://review.typo3.org/c/Packages/TYPO3.CMS/+/90274/9).

    While sometimes no changes are shown even if they exist
    record-history-1.png

    sometimes changes of localized records (tt_content:1550) are shown in the default language
    record-history-3.png

    Additionally I also encountered a state where the default language got a danish label and flag:
    record-history-2.png

  4. Friedemann Altrock commented <span data-processor="relativetime" data-value="2025-08-15T09:45:18+00:00" > 08/15/25, 09:45 </span>

    Hi @obartsch, thanks for testing this!

    I could not reproduce these bugs with a fresh styleguide:generate --create; can you share a database dump and the site configuration?

  5. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-03-30T14:45:09+00:00" > 03/30/26, 14:45 </span>

    Applied in changeset commit:ea7aa4971f8aece43982fe308a02814163d3c99a.