Project

General

Profile

Actions

Bug #80807

closed

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

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

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
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.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #80806: Upgrade Wizard / Execute database migrations on single rows / Error: The RecordLinkHandler expects identifier and uid as $parameter configurationClosedMarkus Klein2017-04-11

Actions
Actions

Also available in: Atom PDF