#111265Record history misses inline field changes and shows unchanged relations
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
- 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). - Create one inline child and translate the parent, including the inline child.
- Edit a plain field of the translated inline child (text, email, phone) and save the parent.
- Open the record history of the translated parent and of the inline child.
- 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_logandtstampare updated,sys_historyhas no modify entry whose payload is the edited inline field. In the log data,historyis0. - Default language: a modify entry exists, and its payload lists relation values that were not changed.
Reviews 1
History 02
-
Gerrit Code Review pushed patch set 1 for main to change 97203 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-28T16:40:52+00:00" > 10/28/26, 16:40 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97203 <span data-processor="relativetime" data-value="2026-10-28T17:46:50+00:00" > 10/28/26, 17:46 </span>