Issue Bug Under Review Quiet

#111265Record history misses inline field changes and shows unchanged relations

Christian Rath-Ulrich 10/28/26, 11:44 updated 10/28/26, 17:46

Description

Problem

Saving a record after changing a field of an inline child updates tstamp and writes a sys_log entry, but the record history does not show that change.

The behaviour depends on whether the parent record is a translation:

  • Translation. The log module has an entry and the record information shows the same “Last modified” time. The record history has no entry for that change.
  • Default language. A history entry is created. Its difference lists relation fields that were not edited. The field changed inside the inline child is absent.

The same DataHandler paths are still present on main.

Steps to reproduce

  1. Create a localizable parent record with an inline relation (foreign_field) and at least one further relation field (for example categories or a select/group relation).
  2. Create one inline child and translate the parent, including the inline child.
  3. Edit a plain field of the translated inline child (text, email, phone) and save the parent.
  4. Open the record history of the translated parent and of the inline child.
  5. Repeat the same edit on a default-language record that has no translation.

Expected

The history contains one modify entry for the inline child. oldRecord and newRecord contain the field that was edited. Unchanged relation fields are not part of that entry. The same applies to a translation and to a default-language record.

Actual

  • Translation: sys_log and tstamp are updated, sys_history has no modify entry whose payload is the edited inline field. In the log data, history is 0.
  • Default language: a modify entry exists, and its payload lists relation values that were not changed.

Reviews 1

History 02