openfoodfacts/openfoodfacts-server
View on GitHubAllow displaying products with barcodes > 24 OR disallow barcode length greater than 24(?)
Open
#6,571 opened on Apr 7, 2022
barcodesgood first issue⏰ Stale🧽 Data quality
Repository metrics
- Stars
- (477 stars)
- PR merge metrics
- (Avg merge 15d 21h) (157 merged PRs in 30d)
Description
Describe the bug
Current situation:
- 12,000+ products have a barcode > 13
- 160 products have a barcode > 24
- Open Food Facts can display products with a barcode up to 24: eg. https://world.openfoodfacts.org/product/232847100000100120001200/berlina-glace-mercadona
- Open Food Facts can't display products with a barcode greater than 24: eg. https://world.openfoodfacts.org/product/0105400141340210310300051/gouda-belegen-everyday%22 (the product exists, it is findable)
To Reproduce
https://world.openfoodfacts.org/product/0105400141340210310300051/gouda-belegen-everyday%22 (the product exists, it is findable)
Expected behavior
I think products should be displayed, even if the barcode is wrong, at least to allow moderators to delete them, if necessary.
Screenshots
No response
Additional context
See also:
- https://wiki.openfoodfacts.org/Barcodes
- https://github.com/openfoodfacts/openfoodfacts-server/issues/1806
Type of device
Browser
Browser version
No response
Number of products impacted
No response
Time per product
No response