Closed vpodorozh closed 6 years ago
It seems when creating a foreign key via the DDL, Magento 2 defaults to "on delete no action" which is an error in this case. We need the data only once and our platform know which conversions etc. have been sent to MailPlus. It should have been an "on delete cascase". We will fix this in the next release.
Any update?
Fixed in v1.4.1
Hello,
I've got this error while execution of native Magento 2 "sales_clean_quotes" cron job on [Magento 2.1.7]:
Cron job "sales_clean_quotes" details:
Current job collects all inactive quotes that are older than the configured lifetime - and delete them. But after installation of MailPlus extension, Magento can't delete expired quotes due to the constraint that was built in \MailPlus\MailPlus\Setup\UpgradeSchema::upgrade .
As I can see from MailPlus extension logic, there is a need to disable quotes clean-up cron job "sales_clean_quotes", because MailPlus extension requires to have all quotes available in DB to provide full information about conversion.
Please check this issue, as tmp solution I will disable "sales_clean_quotes" cron job on mine project. Thank you.