Project

General

Profile

Actions

Bug #105478

open

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

Added by Remo H. about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2024-10-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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
Actions #1

Updated by Sébastien Delcroix about 1 month ago

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.

Actions

Also available in: Atom PDF