Skip to content
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

[7.x] Prevent fields on users from being wiped #1132

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

duncanmcclean
Copy link
Owner

This pull request fixes an issue where fields on User Customers were being wiped out, due to Simple Commerce overriding the user's data, rather than merging into what's already there.

We used to ->merge() the user data, but that was changed in #1087, since the ->merge() method doesn't exist on the Statamic Eloquent User implementation.

Fixes #1122.

@duncanmcclean duncanmcclean merged commit bcd5ebb into 7.x Aug 17, 2024
3 of 11 checks passed
@duncanmcclean duncanmcclean deleted the fix/user-fields-being-wiped branch August 17, 2024 02:56
Copy link

Released as part of v7.4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating an order removes user groups and super admin
1 participant