Issue Bug Closed

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

Robert Böttner 11/14/19, 14:25 updated 12/23/19, 22:44

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”

Reviews 2