Description
Important information after discussion with Product Departmen
This issue has been discussed with Magento Product Manager(PO).
Changes from b1eece2 were made by the Core team intentionally.
It was based on several reports and escalations/complaints from different clients through Magento Support channel.
The main idea was that specific of their businesses did not allow to accept any auto-generated email addresses in the case when field is empty(previous behavior).
Please see for more details: #22648 (comment)
But after a couple of additional meetings with PO was found compromise and solution how it can be fixed/implemented to be approved. Details and requirements here: #22648 (comment)
Preconditions (*)
- Magento 2.2.6 and newer
Steps to reproduce (*)
- Sales -> Orders
- Create New Order
- Create New Customer
- Select Store View or if Single-Store Mode it brings you to the Order Information Page
- Email field is now required
Expected result (*)
- Email field is NOT required (like versions prior to 2.2.6)
Actual result (*)
- Email field is required
Additional Information (*)
The email field has never been required prior to 2.2.6 even going back to Magento1. Now the email field is required when placing an order on the backend of Magento. There is absolutely no documentation about this change or at least I have not found any. I will revert it with a custom module myself if someone points me to the code that makes it a required field. This needs to be a Config option to have the email required or not required. This is causing us major issues because now we have to try and make up random email address for customers. Not all the people in this world have an email address and some just prefer not to give it out. This is a bug not a feature. Please do not tell me this is normal function of Magento when it hasn't been since the beginning of Magento.