the main problem was that ins a several version of mysql datetime can't have a empty string as value in the insert. so the definition for a report tables was updated to date type field permitting NULL value, and before insert the empty string is converted to NULL for date fields