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

Also available in: Atom PDF