[BUGFIX] Avoid PHP warnings in BackendUtility if no BE user is set 52/58752/5
authorAnja <aleichsenring@ab-softlab.de>
Sun, 28 Oct 2018 10:44:55 +0000 (11:44 +0100)
committerBenni Mack <benni@typo3.org>
Sun, 28 Oct 2018 16:06:13 +0000 (17:06 +0100)
commit61db15e04bbdfa97f4e271e9a7b6ff141a98b014
tree91e5412749957958d2e2e21f0f653d37d8a86127
parentf74ed5fe2fcf6907505f9819884ba089d1a879ef
[BUGFIX] Avoid PHP warnings in BackendUtility if no BE user is set

BackendUtility no longer tries to resolve the workspace property
of a not set BackendUserAuthentication. This prevents warnings from
being thrown.

Change-Id: I30d739273a0107e70987beadd3649d8b6bb67f60
Resolves: #86617
Releases: master
Reviewed-on: https://review.typo3.org/58752
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php