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

The barcode field should be a string, not an integer #137

Open
stephanegigandet opened this issue Sep 7, 2022 · 5 comments · May be fixed by #244
Open

The barcode field should be a string, not an integer #137

stephanegigandet opened this issue Sep 7, 2022 · 5 comments · May be fixed by #244
Labels

Comments

@stephanegigandet
Copy link

In Product Opener, barcodes are stored as strings (in the "code" field), not integers. One reason is that they can contain leading 0s. Internally, for the Producers platform, we also prefix barcodes with organization ids. (e.g. "org-something:[barcode]").

Related to #136

@jaivardhan-bhola
Copy link

can i work on this please?

@alexgarel
Copy link
Member

@jaivardhan-bhola sorry I didn't had the mention. Please do ! This would be really important to fix :-)

@jaivardhan-bhola
Copy link

So basically you need it in int or str?

@alexgarel
Copy link
Member

code must be string and not int.

@jaivardhan-bhola
Copy link

oki

jaivardhan-bhola added a commit to jaivardhan-bhola/openfoodfacts-events that referenced this issue Feb 2, 2023
@alexgarel alexgarel added 🎯 P0 bug Something isn't working labels Apr 11, 2023
@teolemon teolemon removed the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
4 participants