Issue Bug Closed

#80338Translation fails for mergeIfNotBlank + null value

Georg Ringer 03/17/17, 20:35 updated 10/02/18, 11:00

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 gitgithub.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

Reviews 1