Project

General

Profile

Actions

Bug #28271

closed

Unit test checkDateWithInvalidDateValues fails with PHP warning

Added by Steffen Gebert over 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2011-07-17
Due date:
% Done:

100%

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

Description

If your TYPO3 is configured to not suppress PHP warnings, the unit test checkDateWithInvalidDateValues with data set "Not Good" of Testsuite tx_scheduler_ModuleTest fails.

As it tries to insert non-numeric values into mkstring(), this warning is raised.

We can safely suppress the output of PHP warnings for the mktime call, as afterwards its return value is checked.

Actions #1

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I7c6b9f587b574334e0096c800de98cb6ffc2033f has been pushed to the review server.
It is available at http://review.typo3.org/3388

Actions #2

Updated by Steffen Gebert over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Francois Suter over 12 years ago

  • Status changed from Resolved to Closed
Actions #4

Updated by Michael Stucki almost 11 years ago

  • Category set to scheduler
Actions #5

Updated by Michael Stucki almost 11 years ago

  • Project changed from 739 to TYPO3 Core
  • Category changed from scheduler to scheduler
Actions

Also available in: Atom PDF