Hello everybody,
after migration, all custom attributes of customer entity where migrated and the data is there. But when you load a customer via customerRepository, the getCustomAttribute function does not include those attributes.
Loading via Factory and using getData works finde.
What is missing for the custom attributes? Thank you.
Best wishes
3 answers
The problem seem to be based on the hard coded Set IDs, for example in CustomerMetadataInterface. Is there any fix for that? After Migration, Customers have a new set.
If you correct the set ids hard in Magento 2code, CustomAttributes are loaded, but save has the effect, that all custom attributes are deleted (not the attributes, but the values). Can anybody help? Thanks in advance!!!!
Hi there,
If you correct the set ids hard in Magento 2code, CustomAttributes are loaded, but save has the effect, that all custom attributes are deleted (not the attributes, but the values)
Could you explain more information about the issue as you mentioned. I will check further and reply you more later.
Regards,
Mall.