Bug #64827
closedCall \TYPO3\CMS\Core\Html\HtmlParser::bidir_htmlspecialchars() causes warning
100%
Description
In the indexed_search core extension is a notice thrown, caused by the static call of a non static method \TYPO3\CMS\Core\Html\HtmlParser::bidir_htmlspecialchars().
It is my first time of reporting an issue. I have added a patch file to this ticket, but shall I start a new Change Request (RFC) like described here (http://wiki.typo3.org/Contribution_Walkthrough_with_CommandLine)?
regards
Andi
Files
Updated by Xavier Perseguers almost 10 years ago
Hi Andreas,
Thanks for reporting. Yes, it would be perfect if you could send your patch for review using the instructions you found in the wiki.
Initial comment while reading your suggested patch:
- Please check if this happens in master as well (I guess so) and push a patch targeting master and 6.2 but for branch master solely, it will be backported to 6.2 if it's fine
- Do not indent comment (line 15 in .patch)
- Do not use leading \ in makeInstance call (\TYPO3... => TYPO3...)
- Use double \\ in makeInstance call (TYPO3\CMS\Core... => TYPO3\\CMS\\Core...)
- See if GeneralUtility is not already aliased (use TYPO3\CMS\Core\Utility\GeneralUtility at the beginning of the class) and if so use the shorter form
- Instead of "$oHtmlParser" I'd go for "$htmlParser", we don't usually use a type prefix notation in TYPO3 Core
Updated by Gerrit Code Review almost 10 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 http://review.typo3.org/36886
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36886
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36886
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36893
Updated by Andreas Müller almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4ab624f98856d2a19b4d780b18305a73c05cdc49.