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

Don't run validations in Order#record_ip_address #3145

Merged

Conversation

cedum
Copy link
Contributor

@cedum cedum commented Mar 15, 2019

When updating the user's latest IP address for an Order, don't run order validations and callbacks.
The IP address tracking should not interfere with/block the request in case validation check is not met.

Related issue: #3075

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change (if needed)

When updating the user's latest IP address for an Order, don't run
order validations and callbacks.
The IP address tracking should not interfere with/block the request in
case validation check is not met.
Copy link
Contributor

@aitbw aitbw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @cedum!

Copy link
Contributor

@jacobherrington jacobherrington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this 👍 Thanks @cedum!

@kennyadsl kennyadsl merged commit 4189c6c into solidusio:master Mar 20, 2019
@kennyadsl kennyadsl deleted the cedum/record-ip-address-novalidations branch March 20, 2019 08:31
@kennyadsl
Copy link
Member

Thanks @cedum !

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.

4 participants