direct_mail
direct_mail copied to clipboard
SQL error in DataHandler ignored
If DirectMailUtility::createDirectMailRecordFromPage
does not succeed (in my case because of MySQL strict mode), this failure is ignored. (There is just a comment "TODO: Error message - Error while adding the DB set") - Here an error should be shown, or an exception should be thrown
Do you mean this line? https://github.com/kartolo/direct_mail/blob/6782b17e6f60f499c245f651fdbdfaffb38de4a5/Classes/Module/Dmail.php#L673
@kartolo Exactly! Sorry for my techy bug report, I should have added "ways to reproduce" at least: This happens when you try to create a newsletter from an internal page; Step 2 is shown even if there was an error creating the data set.