You can test this by replicating the issue in #375 and then applying this patch and seeing if it still causes the issue. After doing these changes, we stopped having that particular issue and were again able to save customer accounts as expected.
Versions
[X] Magento 2.4
[ ] Magento 2.3
[ ] Magento Open Source (formerly Magento 2 Community Edition)
Any plans to merge this PR? Your extension may not work correctly with supported versions of Magento without this update. We're currently relying on a patch I created in our project.
Context
This pull request fixes issue #375
Description
This fixes the bug in issue #375
Performance
No impact on performance - It adds null checks.
Testing
You can test this by replicating the issue in #375 and then applying this patch and seeing if it still causes the issue. After doing these changes, we stopped having that particular issue and were again able to save customer accounts as expected.
Versions