Project

General

Profile

Actions

Bug #97756

closed

Test failure in NormalizeCommandTest with PHP 8.1.7

Added by Oliver Klee over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
Start date:
2022-06-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

1) TYPO3\CMS\Scheduler\Tests\Unit\CronCommand\NormalizeCommandTest::normalizeMonthThrowsExceptionForInvalidMonthRepresentation with data set "integer 100" (100, 1291083486)
Failed asserting that exception of type "InvalidArgumentException" is thrown.

Actions #1

Updated by Oliver Klee over 2 years ago

This failures occurs with PHP 8.1.7, but not with 8.1 < 8.1.7.

Actions #2

Updated by Oliver Klee over 2 years ago

I'm not sure whether this is a bug in PHP that has been introduced with PHP 8.1.7, or a bug fix (and we should just drop the offending dataset), or whether this actually has exposed a bug in our production code.

Actions #4

Updated by Oliver Klee over 2 years ago

This looks like a bug in PHP:
https://github.com/php/php-src/issues/8749

Actions #5

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74871

Actions #6

Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74871

Actions #7

Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74871

Actions #8

Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74871

Actions #9

Updated by Gerrit Code Review over 2 years ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74871

Actions #10

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74840

Actions #11

Updated by Oliver Klee over 2 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF