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

Ingredient specific labels applied to whole product when there are more than one #9779

Open
stephanegigandet opened this issue Feb 12, 2024 · 3 comments

Comments

@stephanegigandet
Copy link
Contributor

Reported on Slack by @FemmeNoire : https://openfoodfacts.slack.com/archives/C03H290LF/p1707586457600959

microbial enzymes (non-animal, rennetless)

The "non-animal" label is applied to the whole product, instead of just the ingredient.

Labels in parenthesis should only applied on the ingredient. It seems the parsing doesn't work that way when there are several labels for one ingredient.

@anaritadauane
Copy link
Contributor

@stephanegigandet, is this a good first issue?

@stephanegigandet
Copy link
Contributor Author

@anaritadauane That one is quite complex, the ingredient parsing code is very ugly, it may take quite some time to understand the code and the bug.

@anaritadauane
Copy link
Contributor

@anaritadauane That one is quite complex, the ingredient parsing code is very ugly, it may take quite some time to understand the code and the bug.

I understand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To discuss and validate
Development

No branches or pull requests

2 participants