Project

General

Profile

Actions

Bug #86657

closed

DataHandler: Missing timestamp parameter when getting RecordHistoryStore

Added by Thorben Nissen about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
Start date:
2018-10-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
delete record, sys history
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

In DataHandler::getRecordHistoryStore 4 parameters are provided when creating an instance of `RecordHistoryStore`: $userType, $userId, $originalUserId, $workspaceId.
RecordHistoryStore though takes 5: $userType, $userId, $originalUserId, $tstamp, $workspaceId. This would lead to wrong timestamps or, in my case of a newly create BE_USER object an SQL error because the timestamp is set to -99 (workspace id).

Actions

Also available in: Atom PDF