Bug #69085

Epic #68397: Make TYPO3 work with MySQL strict mode

transOrigDiffSourceField ignored by Datamapper

Added by Morton Jonuschat over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Category:
Extbase
Target version:
Start date:
2015-08-15
Due date:
% Done:

100%

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

Description

Even if the field is registered in the TCA it isn't included in the DataMap. This is required at least internally as it can be defined NOT NULL in the database and needs to be initialized properly on object creation


Related issues

Related to TYPO3 Core - Bug #69084: Adding Objects with NOT NULL columns is broken Closed 2015-08-15
Related to TYPO3 Core - Bug #69088: updateObject sets sys_language_uid to NULL Closed 2015-08-15

Associated revisions

Revision e6c42f87 (diff)
Added by Anja Leichsenring about 4 years ago

[BUGFIX] Extbase: Make transOrigDiffSourceField available in DataMap

The transOrigDiffSourceField needs to be available in the DataMap so
that the persistence layer can properly initialize that field when
inserting new objects into the database. This field is often set to
NOT NULL in the schema which leads to SQL errors when it's not included
in the records, for example with MySQL in strict mode.

Resolves: #69085
Releases: master
Change-Id: I021ac695ab495d3d7257dfae27bd596d49551ccf
Reviewed-on: http://review.typo3.org/42654
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Daniel Goerz <>
Tested-by: Daniel Goerz <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

History

#1 Updated by Morton Jonuschat over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Morton Jonuschat
  • Parent task set to #68397

#2 Updated by Gerrit Code Review over 4 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/42654

#3 Updated by Gerrit Code Review about 4 years ago

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

#4 Updated by Gerrit Code Review about 4 years ago

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

#5 Updated by Anja Leichsenring about 4 years ago

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

#6 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF