Project

General

Profile

Actions

Bug #69060

closed

Epic #68397: Make TYPO3 work with MySQL strict mode

Out of range value for column 'details_nr'

Added by Morton Jonuschat over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
DataHandler aka TCEmain
Target version:
Start date:
2015-08-14
Due date:
% Done:

100%

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

Description

When logging values into the sys_log table somewhere in the code details_nr gets set to -1 which is out of range for a unsigned integer field.

Error gets triggered when MySQL is running in strict mode. Fixes in #69059 expose it in the functional tests

Actions #1

Updated by Morton Jonuschat over 9 years ago

Errors seem to originate in EXT:version/Classes/Hook/DataHandlerHook.php

Actions #2

Updated by Morton Jonuschat over 9 years ago

  • Category changed from Workspaces to DataHandler aka TCEmain
  • Status changed from New to In Progress
  • Assignee set to Morton Jonuschat

DataHandler->log() defines -1 as the default details_nr, ext_tables.sql defines the field as unsigned tinyint.

Actions #3

Updated by Morton Jonuschat over 9 years ago

  • Parent task set to #68397
Actions #4

Updated by Gerrit Code Review over 9 years ago

  • Status changed from In Progress to Under Review

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

Actions #5

Updated by Morton Jonuschat over 9 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF