Actions
Bug #80807
closedUpgrade Wizard / Execute database migrations on single rows / Error: The RecordLinkHandler expects identifier and uid as $parameter configuration
Start date:
2017-04-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When I run "Upgrade Wizard / Execute database migrations on single rows" I get this error
"The RecordLinkHandler expects identifier and uid as $parameter configuration"
I debugged and found that the upgrade wizard calls $linkService->resolve($link) that returns
$linkParts = [ type = "record", url = [ identifier = "tx_ianshop", table = "tx_ianshop_domain_model_product", uid = "2", ] ]
with $link="record:tx_ianshop:tx_ianshop_domain_model_product:2"
then calls $linkService->asString($linkParts)
that calls \TYPO3\CMS\Core\LinkHandling\RecordLinkHandler::asString
that expect an array like
$parameters = [ identifier = "tx_ianshop", uid = "2", ]
instead it receives the array $parameters = $linkParts.
Actions