-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom attribute values to the origData property to prevent unnecessary db inserts and updates when saving the customer entity #38754
Conversation
Hi @NateSwanson7. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
…essary db inserts and updates when saving the customer entity
ff18e47
to
87397a1
Compare
@magento run all tests |
1 similar comment
@magento run all tests |
@magento run all tests |
@magento run all tests |
Closing this pr as the linked issue is been closed. |
Description (*)
Prevents the creation and execution of unnecessary db inserts/updates when saving a customer entity when non-static customer custom attribute exist.
Fixed Issues (if relevant)
Manual testing scenarios (*)
my_custom_attribute
)my_custom_attribute
to any value and save\Magento\Customer\Api\CustomerRepositoryInterface
)\Magento\Customer\Api\CustomerRepositoryInterface::save()
)my_custom_attribute
since the original value does not differ from the new valueContribution checklist (*)