Issue Bug Closed

#105478Sys log shows "[No title]" for updated records in details

Remo H. 10/25/24, 18:36 updated 12/02/25, 14:32

Description

  1. Create a “Header only” content element an set the “Header”
  2. Save the element
  3. In syslog you see now something like: Record "Test" (tt_content:2) was inserted on page "Home" (1)
  4. Go back to the element and change the “Type” (header_layout)
  5. In syslog you see now something like: Record "[No title]" (tt_content:2) was updated

Reviews 3

History 58

  1. Sébastien Delcroix commented <span data-processor="relativetime" data-value="2024-10-27T23:15:45+00:00" > 10/27/24, 23:15 </span>

    After some quick investigation, it occurs when a content record is updated but its title is not modified.
    As the header field value has not changed, DataHandler doesn’t have this field when updating the record in the database and so the record title cannot be resolved and inserted in the log message.

    It works in v12 though because DataHandler uses the checkStoredRecord() method that queries the record just after it has been updated in DB.
    So the header field value is retrieved and the record title can be resolved and inserted in the log message.

    This method has been removed in v13 with #101793 :

    I’ll try to provide a patch.

  2. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2024-12-16T13:50:08+00:00" > 12/16/24, 13:50 </span>

    Applied in changeset commit:94e651a06b0942e150155690819b3901e5cfd155.