[BUGFIX] Do not renumber unique keys in ArrayUtility 67/53767/3
authorSusanne Moog <susanne.moog@typo3.com>
Tue, 22 Aug 2017 10:10:50 +0000 (12:10 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 22 Aug 2017 11:08:48 +0000 (13:08 +0200)
commitabf0532b350c86b1998fc28e372a076fff33e06c
tree46554fd9ef3ee1d42d2479a08acb001e9e161688
parenta9807917ebc48fb12ece72eabd87b575db925345
[BUGFIX] Do not renumber unique keys in ArrayUtility

In various places throughout the core we are using timestamps followed
by a dot as unique identifiers for array keys (for example the avatar
service is registered that way). The ArrayUtility renumbering function
renumbers these keys on writing configuration, meaning that you cannot
overwrite services registered like that via the configuration manager.

ArrayUtility should not re-order strings containing a number ending with
a single dot.

Change-Id: I7dc1625cfdbab6704df87a8cc06f331d92992d24
Releases: master
Resolves: #82155
Reviewed-on: https://review.typo3.org/53767
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/ArrayUtility.php
typo3/sysext/core/Tests/Unit/Utility/ArrayUtilityTest.php