Bug #83570
closedNew warning in PHP7.2 spams the logs and decreases performance
100%
Description
When Typo tries to get the name of an object it may cause a warning if the parameter given to get_class() is either not an object or null. The supplied patch fixes the issue. I've only observed this issue on PHP 7.2
The file in question is: ./vendor/typo3/cms/typo3/sysext/extbase/Classes/Service/ImageService.php
P.S.: Do I have to fork Typo and create a Pull Request or is this patch sufficient? I hope I didn't set any properties I am not allowed to set in the bug report.
Files
Updated by Gerrit Code Review about 7 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/55370
Updated by Georg Ringer about 7 years ago
you can either do a PR via github or you can follow the contribution workflow which can be found at https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/ to push it directly to Gerrit.
Updated by Gerrit Code Review about 7 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/55370
Updated by Gerrit Code Review about 7 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/55370
Updated by Gerrit Code Review about 7 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/55370
Updated by Gerrit Code Review about 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55370
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55375
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55376
Updated by Georg Ringer about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 90 to 100
Applied in changeset 794e4848a86d7b2a9d3f8a6bb902fa35866709d8.