Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.1.4, 3.2.3
Description
Hello,
Step to reproduce :
1. Add content type "Article" a field "binaryfile", the binaryfile is required, no Searchable and no Translatable.
2. Create a article in English, upload a file.
3. "Create a new translation" in French, Base this translation on an existing translation English
4. Publish the french.
5. Edit the english version, delete binaryfile and upload a new file.
6. Publish or Save => Error 500
"An exception occurred while executing 'UPDATE `ezbinaryfile` SET contentobject_attribute_id = ?, filename = ?, mime_type = ?, original_filename = ?, version = ? WHERE (`contentobject_attribute_id` = ?) AND (`version` = ?)' with params [602, false, null, "carte-belgique (1).svg", 3, 602, 3]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'mime_type' cannot be null
"
Best Regards,
Yoann