Project

General

Profile

Actions

Bug #93495

closed

TypeError buildExpectedSheetIdentifier() within Upgrade Wizard

Added by Henri Nathanson almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-02-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
form
Complexity:
Is Regression:
Sprint Focus:

Description

Updating TYPO3v10.4.9 to v10.4.12 -> Upgrade Wizard

Argument 2 passed to TYPO3\CMS\Form\Hooks\FormFileExtensionUpdate::buildExpectedSheetIdentifier() must be of the type string, null given, called in /kunden/204762_70597/rp-hosting/20852/2008091/staging.smileeyes.de/instances/20210212-105227/webroot/typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php on line 554

Prototype name was empty in my yaml definitions. So setting it, fixed the point for me.

in /kunden/204762_70597/rp-hosting/20852/2008091/staging.smileeyes.de/instances/20210212-105227/webroot/typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php line 705
     * @param string $formIdentifier
     * @param string $finisherIdentifier
     * @return string
     */
    protected function buildExpectedSheetIdentifier(
        string $persistenceIdentifier,
        string $prototypeName,
        string $formIdentifier,
        string $finisherIdentifier
at TYPO3\CMS\Form\Hooks\FormFileExtensionUpdate->buildExpectedSheetIdentifier('1:/form_definitions/request-form.yaml', null, 'request-form', 'EmailToReceiver')
in /kunden/204762_70597/rp-hosting/20852/2008091/staging.smileeyes.de/instances/20210212-105227/webroot/typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php line 554

        $sheetIdentifiers = $this->getSheetIdentifiersForFinisherOverrides($flexform);
        foreach ($sheetIdentifiers as $currentSheetIdentifier => $finisherIdentifier) {
            $sheetIdentifierForOldPersistenceIdentifier = $this->buildExpectedSheetIdentifier(
                $possibleOldReferencedPersistenceIdentifier,
                $formDefinitionsInformation[$targetPersistenceIdentifier]['prototypeName'],
                $formDefinitionsInformation[$targetPersistenceIdentifier]['formIdentifier'],
                $finisherIdentifier
            );

Actions

Also available in: Atom PDF