Project

General

Profile

Actions

Bug #80806

closed

Upgrade Wizard / Execute database migrations on single rows / Error: The RecordLinkHandler expects identifier and uid as $parameter configuration

Added by Christian Toffolo about 7 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Install Tool
Target version:
Start date:
2017-04-11
Due date:
% Done:

100%

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.


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #79647: Add hooks to enable extension using the old typoLinkHandler syntax to migrate dataClosed2017-02-06

Actions
Related to TYPO3 Core - Task #66373: Extend typolink to handle record linksClosedMarkus Klein2015-04-10

Actions
Related to TYPO3 Core - Task #66374: Ensure the softref parser properly handles record linksClosedMarkus Klein2015-04-10

Actions
Has duplicate TYPO3 Core - Bug #80807: Upgrade Wizard / Execute database migrations on single rows / Error: The RecordLinkHandler expects identifier and uid as $parameter configurationClosed2017-04-11

Actions
Actions

Also available in: Atom PDF