Project

General

Profile

Actions

Bug #65318

closed

Epic #65314: PHP7

ExtensionManagementUtilityTest::addTcaSelectItemInsertsItemAtSpecifiedPosition

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\ExtensionManagementUtilityTest::addTcaSelectItemInsertsItemAtSpecifiedPosition with data set "add at end of array" ('', '', array(array('firstElement'), array('matchMe'), array('thirdElement'), array('insertedElement')))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Array (...)
     1 => Array (...)
     2 => Array (...)
-    3 => Array (...)
+    4 => Array (...)
 )

/home/opitz/projects/typo3-master/typo3-src/typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php:754
/home/opitz/projects/neos-git/Packages/Libraries/phpunit/phpunit/phpunit7:56
TYPO3\CMS\Core\Tests\Unit\Utility\ExtensionManagementUtilityTest::addTcaSelectItemInsertsItemAtSpecifiedPosition with data set "add at end if relative position was not found" ('notExistingItem', 'after', array(array('firstElement'), array('matchMe'), array('thirdElement'), array('insertedElement')))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Array (...)
     1 => Array (...)
     2 => Array (...)
-    3 => Array (...)
+    4 => Array (...)
 )

=> array_values/array_slice/... PHP7 misbehavior, internal next key seams 1 to high for next insert.
=> Create ticket in PHP issue tracker

Actions #1

Updated by Alexander Opitz about 9 years ago

  • Description updated (diff)
Actions #2

Updated by Alexander Opitz almost 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Alexander Opitz

Issue is resolved in PHP7

Actions #3

Updated by Alexander Opitz almost 9 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF