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

[v3.1] Fix delete response in admin users controller #4416

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jun 14, 2022

Same as #4415 but for v3.1

If a user with orders gets deleted in the admin an exception is raised. This exception is handled by the `user_destroy_with_orders_error method`.

This method uses the deprecated (and later removed) `text` response. Instead we need to use `plain`.
@waiting-for-dev waiting-for-dev merged commit f2fe7b9 into solidusio:v3.1 Jun 22, 2022
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.

3 participants