smooth-app icon indicating copy to clipboard operation
smooth-app copied to clipboard

Typing nutriments per serving size does not work

Open alexgarel opened this issue 2 years ago • 7 comments

What

On mobile app, if I add nutriments per serving size, they are not saved.

Steps to reproduce the behavior

  1. Go to a product without nutrition
  2. Edit product, edit nutriments
  3. add serving size and tell you want to add nutriments per serving size
  4. add nutriments
  5. validate
  6. refresh product, verify you "task list" is empty
  7. go back to nutriments, they are empty
  8. check website: it's empty and the "Nutrition facts are specified for the product as sold" is not checked

image

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)

alexgarel avatar Feb 03 '23 11:02 alexgarel

https://user-images.githubusercontent.com/144788/216589254-c5529f9c-ed53-4287-9ca5-6d0bfb393261.mp4

alexgarel avatar Feb 03 '23 11:02 alexgarel

@alexgarel I will look into it. Please assign me this

ooprathamm avatar Feb 04 '23 03:02 ooprathamm

Assigned @ooprathamm

teolemon avatar Feb 04 '23 08:02 teolemon

@ooprathamm Managed to reproduce the bug?

monsieurtanuki avatar Feb 23 '23 17:02 monsieurtanuki

@ooprathamm Managed to reproduce the bug?

Yes,i was able to reproduce it

ooprathamm avatar Feb 23 '23 18:02 ooprathamm

@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.

monsieurtanuki avatar Feb 23 '23 19:02 monsieurtanuki

@ooprathamm I'm unassigning you. Feel free to reclaim the issue.

teolemon avatar Apr 16 '24 14:04 teolemon