[TYPO3-core] FYI: Added test #11846: Add unit tests for t3lib_div::removeDotsFromTS()

Oliver Hader oliver at typo3.org
Tue Sep 1 19:39:07 CEST 2009


The following changes were committed to SVN Trunk (rev. 5872)

Type: Unit Test

Bugtracker references:
http://bugs.typo3.org/view.php?id=11846

Branch: Trunk

Problem:
t3lib_div::removeDotsFromTS() can convert TypoScript array to regular
arrays by removing the the dot "." at the end of property nodes. The
test cases shall help to test the correct behaviour concerning
overriding of values.

Example TypoScript:
test {
  propertyA = 13
  propertyA.value = 123
}

On removing the dot of propertyA there will be a conflict - however the
last setting overrides the first one.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list