Bug #86617

Trying to get property 'workspace' of non-object when running slug upgrade wizard

Added by Tymoteusz Motylewski over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2018-10-10
Due date:
% Done:

100%

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

Description

Plenty of notices are thrown when running slug upgrade wizard.

PHP Notice: Trying to get property 'workspace' of non-object in /var/www/html/typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 4037
PHP Notice: Trying to get property 'workspace' of non-object in /var/www/html/typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 4290
PHP Notice: Trying to get property 'workspace' of non-object in /var/www/html/typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 4037

Example stack trace:

BackendUtility.php:4290, TYPO3\CMS\Backend\Utility\BackendUtility::getMovePlaceholder()
BackendUtility.php:494, TYPO3\CMS\Backend\Utility\BackendUtility::getPageForRootline()
BackendUtility.php:387, TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine()
SlugHelper.php:545, TYPO3\CMS\Core\DataHandling\SlugHelper->resolveParentPageRecord()
SlugHelper.php:169, TYPO3\CMS\Core\DataHandling\SlugHelper->generate()
PopulatePageSlugs.php:167, TYPO3\CMS\Install\Updates\PopulatePageSlugs->populateSlugs()
PopulatePageSlugs.php:99, TYPO3\CMS\Install\Updates\PopulatePageSlugs->executeUpdate()
UpgradeWizardsService.php:397, TYPO3\CMS\Install\Service\UpgradeWizardsService->executeWizard()
UpgradeController.php:967, TYPO3\CMS\Install\Controller\UpgradeController->upgradeWizardsExecuteAction()
RequestHandler.php:205, TYPO3\CMS\Install\Http\RequestHandler->handle()
Application.php:65, TYPO3\CMS\Install\Http\Application->handle()
AbstractApplication.php:110, TYPO3\CMS\Install\Http\Application->run()
install.php:104, {closure:/var/www/html/typo3/install.php:101-105}()
install.php:105, {main}()

#1

Updated by Susanne Moog over 2 years ago

  • Sprint Focus set to On Location Sprint
#2

Updated by Gerrit Code Review over 2 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/58752

#3

Updated by Gerrit Code Review over 2 years ago

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

#4

Updated by Gerrit Code Review over 2 years ago

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

#5

Updated by Gerrit Code Review over 2 years ago

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

#6

Updated by Anja Leichsenring over 2 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF