Actions
Bug #85580
closedWrong call of method getRecordsToCopyDatabaseResult from Localisation Controller
Start date:
2018-07-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
In the LocalisationController in the Method getRecordUidsToCopy is a call to the Repository Method getRecordsToCopyDatabaseResult w2ith wrong number of arguments.
The definition of the calling Method has five arguments, where as fifth argument is a field list. But in the calee Method is 'uid' string as fourth argument used.
LocalisationController::getRecordLocalizeSummary (right call):
$result = $this->localizationRepository->getRecordsToCopyDatabaseResult( $params['pageId'], $params['colPos'], $params['destLanguageId'], $params['languageId'], '*' );
LocalisationController::getRecordUidsToCopy (wrong call):
$result = $this->localizationRepository->getRecordsToCopyDatabaseResult($pageId, $colPos, $languageId, 'uid');
Definition:
public function getRecordsToCopyDatabaseResult($pageId, $colPos, $destLanguageId, $languageId, $fields = '*')
Actions