Actions
Bug #80338
closedTranslation fails for mergeIfNotBlank + null value
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
- Latest master
- Clone
git@github.com:georgringer/news.git
- Create a news record
- Use query
update tx_news_domain_model_news set author=null where uid=126
(of course use correct uid) - 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