Thomas Klein
Thomas Klein
Hello, I confirm this issue is easily reproductible. I'm going to check the given patch, and if I've time to work on it open a PR with a proper solution.
BTW the first patch works fine for me!
@magento run all tests
@magento run all tests
Unit tests needs to be reworked as they don't test expected results but internal implementation 🤡
@magento run all tests
@magento run all tests
\Magento\Customer\Model\Metadata\AddressMetadata::getAttributeMetadata `$attribute = $this->attributeMetadataDataProvider->getAttribute(AddressMetadataInterface::ENTITY_TYPE_ADDRESS, $attributeCode);` \Magento\Customer\Model\AttributeMetadataDataProvider::getAttribute `return $this->eavConfig->getAttribute($entityType, $attributeCode);` \Magento\Eav\Model\Config::initSystemAttributes ``` $attributeCollection = $this->_universalFactory->create($entityType->getEntityAttributeCollection()); $websiteId = $attributeCollection instanceof Collection ? $this->getWebsiteId($attributeCollection) : 0; ``` \Magento\Eav\Model\ResourceModel\Attribute\Collection::getWebsite ``` if ($this->_website === null)...
@magento run all tests
@magento run all tests