-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
OFN BE : loading of the page "Products" without result #6608
Comments
hello @SophieDuponcheel that you very much for opening this issue! Where are those products sold? only on https://openfoodnetwork.be/coprosain-sc/shop#/shop ? |
No, they are also sold on Coquelicoop shop. In fact, they are the ones who warned me of the problem. When I try with another company, the problem doesn't exist. It's only the coprosain products that are the problem (for the moment). |
Okay, this looks like another occurrence of the variant unit_value / |
Interestingly I can clearly see there's an error occurring here, but it doesn't show up in Bugsnag, and I can reproduce it. 🤔 |
Okay, this is not the same bug as the other variant unit issues... |
The serializer is throwing this error: |
When I try to write specs for this in master, I can't replicate the issue. I think there may have been a bug in JSON parsing of |
Let's check this again after the next release is deployed... |
Great, thanks @Matt-Yorkley ! |
@RachL @Matt-Yorkley it's not solved if I understand correctly? The person who manages "coquelicoop" with "coprosain" products gets impatient, it blocks them too much. I don't know what to tell her. Sorry to rush you. |
@SophieDuponcheel I think it will be solved when the next release is deployed. I'll do some double-checking now to make sure 👍 |
it means the next tuesday? could you explain me why? so that I'm explaining to the users of "coprosain" products. For them it will surely be a too late answer but well ... thank you to help us !! |
@SophieDuponcheel we only deploy on Tuesdays, we don't have the capacity to do more frequent releases at the moment. It involves time on the dev team to prepare and deploy and time on testing that every thing is ok. So currently we cannot do it more than once a week. |
@SophieDuponcheel I've had another look, and I think it's fixed now in production (live). |
but I have bad news, the problem persists with other producers. I just had a complaint for the shop "du pain & des roses" with the producer "La ferme de la tortue bio". |
the user of "du Pain et des Roses" sent me this URL to explain the bug : https://www.openfoodnetwork.be/api/products/bulk_products.json?import_date=&page=9&per_page=15&q%5Bname_cont%5D=&q%5Bprimary_taxon_id_eq%5D=&q%5Bs%5D=&q%5Bsupplier_id_eq%5D= and this link : https://developer.cdn.mozilla.net/fr/docs/Web/HTTP/Status/422 |
@SophieDuponcheel Can you reply to them and ask them to set the weight on this product at: https://openfoodnetwork.be/admin/products/chicons-6/variants/10915/edit I'd have done it myself, but it's not clear what the weight should be. |
I'll close this for now, it should be resolved. |
Description
When I go to consult the products in a entreprise's product catalog (example: coprosain s.c) or even in the product tab, the page is loading but the products never appear. I can see the first 15 products, then to see the next 50 on the load page but nothing appears.
This has no impact on the online shop but the producers don't know how to modify their product anymore, which is really problematic.
Expected Behavior
see all the products and be able to modify them
Actual Behaviour
the page is loading but the products never appear.
Steps to Reproduce
Animated Gif/Screenshot
Error 422 on https://openfoodnetwork.be/api/products/bulk_products.json?import_date=&page=1&per_page=15&q[name_cont]=&q[primary_taxon_id_eq]=&q[s]=&q[supplier_id_eq]=116
Workaround
Severity
bug-s2Your Environment
i'm using a PC, with mozilla firefoxPossible Fix
The text was updated successfully, but these errors were encountered: