Project

General

Profile

Actions

Bug #65319

closed

Epic #65314: PHP7

ResourceUtilityTest::recursiveFileListSortingHelperCorrectlySorts

Added by Alexander Opitz about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2015-02-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TYPO3\CMS\Core\Tests\Unit\Utility\ResourceUtilityTest::recursiveFileListSortingHelperCorrectlySorts with data set "mixed capitalization" (array('alllower', 'allCAPS', 'ALLcaps', 'mIxedinanotherway', 'ALLCAPS', 'MiXeDcApItAlIzAtIoN'), array('ALLCAPS', 'ALLcaps', 'allCAPS', 'alllower', 'MiXeDcApItAlIzAtIoN', 'mIxedinanotherway'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'ALLCAPS'
+    0 => 'allCAPS'
     1 => 'ALLcaps'
-    2 => 'allCAPS'
+    2 => 'ALLCAPS'
     3 => 'alllower'
     4 => 'MiXeDcApItAlIzAtIoN'
     5 => 'mIxedinanotherway'
 )

/home/opitz/projects/typo3-master/typo3-src/typo3/sysext/core/Tests/Unit/Utility/ResourceUtilityTest.php:68
/home/opitz/projects/neos-git/Packages/Libraries/phpunit/phpunit/phpunit7:56

=> unatcasesort, internally same issue on swap?
=> Open an issue in PHP issue tracker

=> Also in HHVM


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #67187: recursiveFileListSortingHelper natural sorting isn't locale awareResolved2015-05-29

Actions
Actions #1

Updated by Alexander Opitz about 9 years ago

  • Description updated (diff)
Actions #2

Updated by Alexander Opitz about 9 years ago

This seams no issue in PHP. It is an issue of the functionality or the test.

Actions #3

Updated by Alexander Opitz about 9 years ago

  • Description updated (diff)
Actions #4

Updated by Alexander Opitz about 9 years ago

After deeper looking in the cause of this issue, it is a bug in our implementation.
Fixes issue with PHP7 and HHVM.

Actions #5

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37250

Actions #6

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37250

Actions #7

Updated by Gerrit Code Review almost 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37250

Actions #8

Updated by Gerrit Code Review almost 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37250

Actions #9

Updated by Gerrit Code Review almost 9 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37250

Actions #10

Updated by Gerrit Code Review almost 9 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37250

Actions #11

Updated by Alexander Opitz almost 9 years ago

  • Assignee set to Alexander Opitz
  • % Done changed from 0 to 50
Actions #12

Updated by Gerrit Code Review almost 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39967

Actions #13

Updated by Alexander Opitz almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100
Actions #14

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF