Skip to content

Conversation

@ShrutiPandey-4
Copy link

@ShrutiPandey-4 ShrutiPandey-4 commented Nov 28, 2025

What

This PR fixes two issues:
-Adds fallback unit when nutrition values are missing units.
-Marks obsolete country name in taxonomy to avoid showing them as valid choices.

Screenshot

Not applicable.

Why

This improves data accuracy and prevents users from selecting outdated country names.

Related issue(s) and discussion

@ShrutiPandey-4
Copy link
Author

Hi! I've submitted the fix for the missing nutrition unit issue.
Please let me know if any changes are needed. Thank you!

@github-actions github-actions bot added the 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies label Nov 28, 2025
@sonarqubecloud
Copy link

@ShrutiPandey-4 ShrutiPandey-4 changed the title fix: add fallback unit when nutrition unit is missing fix: nutrition unit fallback and mark obsolete countries Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Display 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies

Projects

Status: To discuss and validate

Development

Successfully merging this pull request may close these issues.

Broken product When creating a new account, some listed countries are not existing anymore

1 participant