-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
"NaN" in ingrediant list #1463
Comments
can you export that recipe and post it here so that i can test if i can reproduce the issue ? |
Sure, here it is. |
thanks for your recipe. The problem is actually that your recipe has 0 servings. This of course should not be possible but i have pushed a fix so its gone fore the next version. What you can easily do to fix your problem is just set the servings to "1" or similar. thanks for reporting and providing the export for quick debugging |
you can also 'Disable Amount' via the ingredient context menu |
Thanks for the quick fix. I'll just set it to 1, but maybe this is another little bit to fix ;-) |
yea i screwed that up, i implemented a "quick fix" that simply checks for servings to be a proper float and if its not it sets it to 0 (which is stupid). It now sets it to 1 and if its 0 it sets it to 1 as well. |
ok, but should it gernerally be possible to enter decimal values / floats or is this filed meant to be just an integer? |
i think you should be able to enter floats. i have never done so i must admit .. but maybe the model is also an integer, would need to look that up but on the move right now |
Hi,
I'v just set up a new installation with docker compose.
After adding a recipe (manual) and adding ingrediants I just get "NaN":
If I edit the recipe the ingrediants are all correct:
I've also imported recipes from chefkoch.de - there everything is fine.
The text was updated successfully, but these errors were encountered: