Bug #48052
closedUsing Namespace in t3lib_TCEforms_Suggest breaks PHP 5.2 support
100%
Description
Using function:
\TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode
in class.t3lib_tceforms_suggest.php
breaks PHP 5.2 Support.
Solution:
use t3lib_div::trimExplode
Updated by Christian Kuhn over 11 years ago
Confirmed. Thanks! Will be taken care of in 4.5.27. Special thanks for this report before this was released!
Updated by Christian Kuhn over 11 years ago
4.5 & 4.7 affected
https://review.typo3.org/#/c/20517/
https://review.typo3.org/#/c/20520/
Updated by Thorsten Kahler over 11 years ago
- Category set to 1394
- Status changed from New to Accepted
- Target version set to 4.5.26
TYPO3\
in the current sources of version 4.7 revealed a few other usages of namespaces:
- Code
- class Tx_Fluid_Tests_Unit_View_TemplateViewTest
- class Tx_Fluid_Tests_Unit_ViewHelpers_Form_AbstractFormFieldViewHelperTest
- PHPDoc
- class tx_form_System_Postprocessor_Mail
- class t3lib_stdGraphicTest
I expect to find the same (or even more) issues in 4.5 too!
Updated by Martin Borer over 11 years ago
Typo3 4.7 requires PHP 5.3, using Namspaces in this version is ok.
As far as I can see, there are no other places in Typo3 4.5 where Namespaces are used.
Updated by Gerrit Code Review over 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/20687
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/20694
Updated by Nicole Cordes over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 913c01a42cea5d6eb991dd213fd8df37947e869b.
Updated by Ernesto Baschny almost 11 years ago
- Category changed from 1394 to Backend API
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed