Bug #26491
closedFix unit test cropIsMultibyteSafe
100%
Description
The unit test cropIsMultibyteSafe
(class tslib_contentTest
) fails, if error reporting includes E_WARNING. In this case mb_strlen()
throws an error, as it is called with an empty string as second parameter $charset
. Initializing $GLOBALS['TSFE']->renderCharset
in the setUp
method solves this.
PHP Warning: mb_strlen() [<a href='function.mb-strlen'>function.mb-strlen</a>]: Unknown encoding "" in /opt/local/apache2/vhosts/master/typo3_src/t3lib/class.t3lib_cs.php line 1533
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change If04278e3cbd01ad2f4b6b02c1b3df7cf89b251f0 has been pushed to the review server.
It is available at http://review.typo3.org/1785
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change If04278e3cbd01ad2f4b6b02c1b3df7cf89b251f0 has been pushed to the review server.
It is available at http://review.typo3.org/1785
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Id57fab2393a651ddd72fdb46e86e71f0d70330a1 has been pushed to the review server.
It is available at http://review.typo3.org/1786
Updated by Steffen Gebert over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 710ae66b42c62099335748c182d0d23df69ef236.