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

No explanation of cause for Nutella #6434

Closed
Tracked by #6680
teolemon opened this issue Feb 22, 2022 · 5 comments
Closed
Tracked by #6680

No explanation of cause for Nutella #6434

teolemon opened this issue Feb 22, 2022 · 5 comments
Labels
🐛 bug This is a bug, not a feature request. health card 🥗 Ingredients 📖 Knowledge Panels - https://wiki.openfoodfacts.org/Knowledge_panels

Comments

@teolemon
Copy link
Member

teolemon commented Feb 22, 2022

What

  • No explanation of cause for Nutella (The ingredient is obvious in this specific case, "palm oil", but the panel is empty)

Part of

Screenshot

https://world.openfoodfacts.net/product/80135463/nutella-ferrero

image

@teolemon teolemon added 🐛 bug This is a bug, not a feature request. 🥗 Ingredients 📖 Knowledge Panels - https://wiki.openfoodfacts.org/Knowledge_panels health card labels Feb 22, 2022
@teolemon teolemon transferred this issue from openfoodfacts/smooth-app Feb 22, 2022
@teolemon teolemon changed the title bad rendering of the sub-knowledge panel on ingredient analysis No explanation of cause for Nutella Feb 22, 2022
@alexgarel
Copy link
Member

Hum this look like some command should have been run, that was not run.

We should run scripts/update_all_products.pl --process-ingredients

(this is a command to run, specific to the new feature).

@alexgarel
Copy link
Member

@stephanegigandet would it make sense to run this kind of command once in a while on preprod and on prod ?

@alexgarel
Copy link
Member

I launched the command on preprod, but this will take a long time ! (8 days…)

@stephanegigandet
Copy link
Contributor

well the preprod db is copied from prod, so we just have to wait for this to be deployed in prod. when I deploy it, I'll reprocess the ingredients. I takes a couple of days in prod, and depending on the change, we may need to reprocess ecoscore, nutriscore etc. (but not for this specific change for instance), so we can keep it manual.

@stephanegigandet
Copy link
Contributor

Fixed in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug, not a feature request. health card 🥗 Ingredients 📖 Knowledge Panels - https://wiki.openfoodfacts.org/Knowledge_panels
Development

No branches or pull requests

3 participants