Project

General

Profile

Actions

Bug #29133

closed

Setting userFuncClassPrefix to empty string does not work

Added by Susanne Moog over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2011-08-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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

Actions #1

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

Actions #2

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

Actions #3

Updated by Susanne Moog over 13 years ago

  • Status changed from Accepted to Under Review
Actions #4

Updated by Susanne Moog over 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF