Thomas Klein

Results 41 comments of 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.

Unit tests needs to be reworked as they don't test expected results but internal implementation 🤡

\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)...