Project

General

Profile

Actions

Bug #89683

closed

Install Tool - Update backend user configuration array fails due to wrong variable type in $backendUser['uid']

Added by Robert Böttner about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Start date:
2019-11-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Argument 1 passed to TYPO3\CMS\Install\Updates\BackendUserConfigurationUpdate::updateBackendUser() must be of the type integer, string given, called in /var/lib/typo3/typo3_src-9.5.11/typo3/sysext/install/Classes/Updates/BackendUserConfigurationUpdate.php on line 105

at TYPO3\CMS\Install\Updates\BackendUserConfigurationUpdate->updateBackendUser('5', array('interfaceSetup' => null, 'moduleData' => array('alt_menu.php' => array(), 'web_list' => array('bigControlPanel' => '1'), 
...

in /var/lib/typo3/typo3_src-9.5.11/typo3/sysext/install/Classes/Updates/BackendUserConfigurationUpdate.php line 105

                    $item = json_decode(json_encode($item), true);
                }
            });

            $this->updateBackendUser($backendUser['uid'], $userConfig);
        }

        return true;
    }


Reproduce:
  1. Run the Upgrade Wizard "BackendUserConfigurationUpdate"

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #89638: BackendUserConfigurationUpdate Upgrade Wizard fails on empty UC fieldsClosedDaniel Goerz2019-11-11

Actions
Actions #1

Updated by Robert Böttner about 5 years ago

  • Related to Bug #89638: BackendUserConfigurationUpdate Upgrade Wizard fails on empty UC fields added
Actions #2

Updated by Christian Eßl about 5 years ago

Had the same problem just now while updating a project from 8.7 to 9.5. This is a one-line no-brainer.

Actions #3

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62350

Actions #4

Updated by Gerrit Code Review almost 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62392

Actions #5

Updated by Christian Eßl almost 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF