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

Folksonomy engine does not get barcode on some products and can't add properties #10220

Closed
alexgarel opened this issue May 3, 2024 · 2 comments
Labels
🐛 bug This is a bug, not a feature request. 🏷️ Folksonomy Project The Folksonomy project allows to add custom data to product, and model non food products.

Comments

@alexgarel
Copy link
Member

Alizarine spotted a bug:

I can't add this property to this product: https://world.openfoodfacts.org/product/2000000218021/12-macarons-plaisir-patissier#
I hit "submit" nothing happens :(

It's the json that is sent that is wrong so it's an issue with the JS

{"product": "undefined", "k": "ingredient_list:multiple", "v": "6", "owner": ""}

"product" is wrong

In folksonomy.js, code is retrieved with code = $("#barcode").html();, maybe this value is not available ?

@alexgarel alexgarel changed the title Folksonomy engine does not get barcode and can't add properties Folksonomy engine does not get barcode on some products and can't add properties May 3, 2024
@teolemon teolemon added the 🏷️ Folksonomy Project The Folksonomy project allows to add custom data to product, and model non food products. label May 3, 2024
@teolemon
Copy link
Member

teolemon commented May 3, 2024

@teolemon teolemon added the 🐛 bug This is a bug, not a feature request. label May 3, 2024
@alexgarel
Copy link
Member Author

duplicate of #7267

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. 🏷️ Folksonomy Project The Folksonomy project allows to add custom data to product, and model non food products.
Projects
Status: Done
Development

No branches or pull requests

2 participants