Project

General

Profile

Actions

Bug #86657

closed

DataHandler: Missing timestamp parameter when getting RecordHistoryStore

Added by Thorben Nissen over 5 years ago. Updated almost 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 #1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58641

Actions #2

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58641

Actions #3

Updated by Georg Ringer over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF