smooth-app
smooth-app copied to clipboard
Typing nutriments per serving size does not work
What
On mobile app, if I add nutriments per serving size, they are not saved.
Steps to reproduce the behavior
- Go to a product without nutrition
- Edit product, edit nutriments
- add serving size and tell you want to add nutriments per serving size
- add nutriments
- validate
- refresh product, verify you "task list" is empty
- go back to nutriments, they are empty
- check website: it's empty and the "Nutrition facts are specified for the product as sold" is not checked
Notes
I think that the fact that the checkbox is not checked might not be overlooked, it could be the root of the problem (not sure, though)
https://user-images.githubusercontent.com/144788/216589254-c5529f9c-ed53-4287-9ca5-6d0bfb393261.mp4
@alexgarel I will look into it. Please assign me this
Assigned @ooprathamm
@ooprathamm Managed to reproduce the bug?
@ooprathamm Managed to reproduce the bug?
Yes,i was able to reproduce it
@ooprathamm Managed to find the bug? I recommend printing the changed product that is sent to the background task: some fields are probably missing there.
@ooprathamm I'm unassigning you. Feel free to reclaim the issue.