Bug #29133
closedSetting userFuncClassPrefix to empty string does not work
100%
Description
Setting $GLOBALS['TYPO3_CONF_VARS']['FE']['userFuncClassPrefix'] to an empty string - to allow all prefixes - does not work as expected as the check in t3lib_div expects a valid string with length > 0. Adjust t3lib_div::hasValidClassPrefix to also allow empty prefix var.
How to test:
Set $GLOBALS['TYPO3_CONF_VARS']['FE']['userFuncClassPrefix'] to ''
Run the unit tests for t3lib_div
See the test for hasValidClassPrefix fail
Apply the changes
Run the unit tests again
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Idbd8cf7a547d9549f1c31dadd731eda48f52fcec has been pushed to the review server.
It is available at http://review.typo3.org/4445
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change Idbd8cf7a547d9549f1c31dadd731eda48f52fcec has been pushed to the review server.
It is available at http://review.typo3.org/4445
Updated by Susanne Moog over 13 years ago
- Status changed from Accepted to Under Review
Updated by Susanne Moog over 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f2c206000b0b6e0f11cebcb99561c5355a218530.