-
-
Notifications
You must be signed in to change notification settings - Fork 725
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
[Bye bye Spree] Bring models taxon and taxonomy from spree_core #5868
Conversation
751f82e
to
b556c55
Compare
There are a few easy to fix Code Climate issues. Other than that 👍 |
I am not sure about the "Useless assignment to variable - name"... so I dont change it. I fixed the long lines 👍 |
397139d
to
5521b4b
Compare
I'm moving it to test ready because it's a fairly simple merge and it looks 👍 |
Hi @luisramos0, Checked the following: i) Verified previously existing Taxons were working as correctly Not introduced by this PR: Error observed on test case ii) but no unusual behavior was seen on the app: https://openfoodnetwork.slack.com/archives/G010VN35QU9/p1600101520000100 Error observed on test case v) if Taxons are attributed to a product: https://openfoodnetwork.slack.com/archives/G010VN35QU9/p1600103192000600 I could not verify issue #5252 after staging this PR, so maybe this solves it? Would that make sense? I'll comment on that issue. This is good to go! 🎉 |
I verified #5252 now: it only affects main classes. Renaming sub-classes works both in back- and frontoffice. |
Nice, thanks Filipe. We could create an issue for that JS error (last_rollback), there's some rollback logic in the JS that maybe we dont need. re #5252 👍 |
Hey @luisramos0, thanks. Opened tech-debt #6030 concerning the removal of the rollback logic and issue #6033 on the observed errors while deleting taxons (bug-s4 I'd say). |
What? Why?
Continues #4826
Here we move the following files to OFN:
No code changes were made, here we only move the code from spree, adapt the specs if needed and improve the code a little with rubocop and transpec.
What should we test?
We need to verify if everything related to these changes is still working. I'd run the following verifications:
I am not sure what else to test related to taxonomies. Any other point we should check here?
Release notes
Changelog Category: Changed
Brought code needed in OFN from Spree so that we can make OFN independent of Spree.