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

update_all_products.pl: code field becomes a number instead of a string #9766

Closed
stephanegigandet opened this issue Feb 6, 2024 · 3 comments
Labels
🐛 bug This is a bug, not a feature request. typing update all products

Comments

@stephanegigandet
Copy link
Contributor

Something strange is happening:

off@off:/srv/off/scripts$ ./update_all_products.pl --process-ingre --compute-eco --process-pack --compute-nutri --check-quality --query code=7622210449283

> db.products.count({code: '7622210449283'})
0
> db.products.count({code: 7622210449283})
1

Investigating.

@stephanegigandet
Copy link
Contributor Author

Seems to happen with --check-quality

@stephanegigandet
Copy link
Contributor Author

Hopefully fixed by #9767

Still need to repair affected products.

@stephanegigandet
Copy link
Contributor Author

Fixed, there was only one broken product and it was repaired.

alexgarel pushed a commit that referenced this issue Feb 14, 2024
john-gom pushed a commit that referenced this issue May 24, 2024
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. typing update all products
Projects
None yet
Development

No branches or pull requests

2 participants