Project

General

Profile

Actions

Bug #105721

open

No change in tstamp by recovery of a page

Added by Daniel Balado Casal 4 months ago. Updated 3 months ago.

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

0%

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

Description

While working with the apache-solr-for-typo3/solr extension, I've noticed that when a page is retrieved from the recycle bin, the status change events don't seem to be triggered. The 'tstamp' field in the database doesn't change either.
As a result, when I recover a page, it doesn't get added back to my solr index unless I make some changes to it (e.g. deactivate and reactivate).
Is this the expected behavior?

Actions #1

Updated by Garvin Hicking 4 months ago

  • Category set to DataHandler aka TCEmain
Actions #2

Updated by Georg Ringer 3 months ago

just from reading, the timestamp should get updated, code in DataHander

if ($timestampField !== '') {
            $updateFields[$timestampField] = $GLOBALS['EXEC_TIME'];
        }
 $this->connectionPool->getConnectionForTable($table)
            ->update(
                $table,
                $updateFields,
                ['uid' => $uid]
            );<
/pre>

Actions

Also available in: Atom PDF