Project

General

Profile

Actions

Bug #84962

closed

Enforce int type for database value

Added by Nicole Cordes over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2018-05-10
Due date:
% Done:

100%

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

Description

Given:
- mysql database without strict_mode
- a functional test where fixtures from xml are stored in the database
- fixtures contain timestamp the are passed as string

Expected:
- \TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject can be created from database fixture

Actual:
- An error occurs because a timestamp cannot be converted to a DateTime object

Actions

Also available in: Atom PDF