Business addresses do not necessarily require a first name and surname
These migrations lead to malfunctioning at a customer, who needs the FirstName and LastName empty.
- vendor/shopware/platform/src/Core/Migration/V6_7/Migration1756068709FixCustomerAddressFirstNameLength.php
- vendor/shopware/platform/src/Core/Migration/V6_7/Migration1756068710FixCustomerAddressLastNameLength.php
- vendor/shopware/platform/src/Core/Migration/V6_7/Migration1756068711FixOrderAddressFirstNameLength.php
- vendor/shopware/platform/src/Core/Migration/V6_7/Migration1756068712FixOrderAddressLastNameLength.php
The problem with these migrations are, that the constraints have been added afterwards. Now the customer has more than 25000 customer addresses with these field unfilled and more 650000 order adresses. The migrations fail permanently.
There hava already been created two feedbacks regarding the topic:
- https://feedback.shopware.com/forums/942607-shopware-6-product-feedback-ideas/suggestions/49205072-it-should-be-possible-to-migratate-customers-witho
- https://feedback.shopware.com/forums/942607-shopware-6-product-feedback-ideas/suggestions/49598600-adding-companies-as-customers-instead-of-users
Both have been declined.
With regard to the B2B Components, I am creating the feedback requirement once again, as, depending on the intended use, it may be the case that the first name and surname do not necessarily have to be entered.