-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
Handle soft deleted variants in order edit #3938
Conversation
Moving to test ready as the underlying openfoodfoundation/spree#41 got 2 approvals and this is only meant for testing now. |
@sauloperez This has failed with a fatal error multiple times when being staged... Relevant error lines:
|
This PR is not testable as it seems to break asset precompile and can't be staged. Moving back to |
d81a040
to
fa37a39
Compare
Deployment failed. As discussed with Pau on Slack, moving back to in dev https://semaphoreci.com/openfoodfoundation/openfoodnetwork-2/servers/katuma-staging/deploys/90 |
fa37a39
to
01f77ea
Compare
I removed the accidental sass upgrade. all good now in staging katuma, back to test ready ;-) |
This allows us to test openfoodfoundation/spree#41. If it passes testing I will then revert it back to the `2-0-4-stable` branch but updating the target commit in the Gemfile.lock.
bdbf651
to
be4fbc4
Compare
Thanks @luisramos0 ! I removed sass from the change. |
Staging worked and now when I delete a product I still can access the previous orders, both as super admin and manager. Two examples: https://staging.katuma.org/admin/orders/R742456565/edit https://staging.katuma.org/admin/orders/R622102456/edit Ready to go! |
I was too quick to merge, this was not supposed to be merged... I reverted it in #4061 sorry! |
Yes, sorry this PR and its Spree counterpart are a bit confusing. I knew this would happen. |
I just merged this PR and reverted it immediately. Nothing else. |
What? Why?
Closes #3903
This allows us to test openfoodfoundation/spree#41. If it passes testing I will then revert it back to the
2-0-4-stable
branch but updating the target commit in the Gemfile.lock.What should we test?
You should see the page, including the deleted product, without any problem.
Release notes
Orders listing products that got deleted after the purchase can still be edited from the admin section
Changelog Category: Fixed