Bug #99946
closedMount Points broken after Update to 11.5.23
100%
Description
After update to 11.5.23 i get the following error on some pages with mount points set.
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Argument 1 passed to TYPO3\CMS\Core\Utility\RootlineUtility::sanitizeMountPointParameter() must be of the type string, null given, called in /home/xxxxxxx/typo3_src-11.5.23/typo3/sysext/core/Classes/Utility/RootlineUtility.php on line 136 | TypeError thrown in file /home/xxxxxxxx/typo3_src-11.5.23/typo3/sysext/core/Classes/Utility/RootlineUtility.php in line 427. Requested URL: https://www.xxxxxxxxx/ xxxxx
Problem that NULL is set somewhere else and passed into the function.
public function __construct($uid, $mountPointParameter = '', $context = null) { $this->mountPointParameter = $this->sanitizeMountPointParameter($mountPointParameter); ..... }
False
After this change everything works fine again...
public function __construct($uid, $mountPointParameter = '', $context = null) { if ($this->mountPointParameter) { $this->mountPointParameter = $this->sanitizeMountPointParameter($mountPointParameter); }
Updated by Georg Ringer almost 2 years ago
- Description updated (diff)
- Is Regression set to Yes
Updated by Georg Ringer almost 2 years ago
- Is Regression changed from Yes to No
thanks for creating the issue. can you please add some more stacktrace to find the occurence? I haven't found any problematic usage in the core during a quick review but to either fix the issue or add a proper report to the problematic extension some more info is needed.
if you are hesitating because of sensitive information, forward it to me in private via mail/slack
Updated by Georg Ringer almost 2 years ago
- Status changed from New to Needs Feedback
Updated by Georg Ringer almost 2 years ago
- Related to Bug #99731: PHP Warning: Undefined array key 1 in in /typo3_src-11.5.22/web/typo3/sysext/core/Classes/Utility/RootlineUtility.php line 431 added
Updated by Gerrit Code Review almost 2 years ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77860
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77860
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77860
Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77860
Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch 11.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/+/77864
Updated by Gerrit Code Review almost 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77860
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch 11.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/+/77864
Updated by Georg Ringer almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6797361e3272171f38afdcc6ef9f3bfc393a02d9.