Project

General

Profile

Actions

Bug #80338

closed

Translation fails for mergeIfNotBlank + null value

Added by Georg Ringer over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-03-17
Due date:
% Done:

100%

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

Description

If a field is defined as mergeIfNotBlank and a null value is in default language, it fails with the exception

#1488634845: Issued data-map change for table tx_news_domain_model_news with same values for these fields names author (More information)

How to reproduce

  1. Latest master
  2. Clone git@github.com:georgringer/news.git
  3. Create a news record
  4. Use query update tx_news_domain_model_news set author=null where uid=126 (of course use correct uid)
  5. try to translate this error

Additional problem

maybe a separate issue worth?

If the default record got some relations, e.g. sys_file_reference, the exception stops the translation but the references are doubled in the default record. this can be checked by e.g. select * from sys_file_reference where uid_foreign=126

Actions #1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted 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 https://review.typo3.org/52091

Actions #2

Updated by Gerrit Code Review over 7 years ago

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

Actions #3

Updated by Gerrit Code Review over 7 years ago

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

Actions #4

Updated by Gerrit Code Review over 7 years ago

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

Actions #5

Updated by Oliver Hader over 7 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF