You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a meal plan with breakfast, lunch and dinner recipes selected. When I add the items to the shopping list via the meal planner feature, the items on the shoppinglist are not consolidated. For example, I have several entries for eggs and several entries for salt.
Steps to Reproduce
I'm attaching images that show the workflow.
1.) Fill a day in mealplanner with recipes
2.) Create a shopping list or empty an existing one
3.) Add items from the mealplanner to the shopping list
If I them select and de-select items on the shopping list, they will get summed together. So it looks like this step is skipped when adding items via the mealplanner.
Please provide relevant logs
The log is empty when I perform these actions.
Mealie Version
v1.4.0, f709d11
Also reproducible on the demo platform.
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered:
Looks like this is specific to adding from the mealplanner; adding a single recipe is fine, even when it has multiple repeated ingredients (e.g. 1 clove garlic, 2 cloves garlic).
My guess is that it's a race condition due to sending multiple "add recipe" requests at once, and they don't see each other. Solution would be to either send one request at a time (slow) or add a new backend API to accept multiple recipes in one request
@padawarmik are you able to share your exact replication steps?
This is definitely an edge case bug, so I'm keen to have as much documentation about the scenarios as possible.
First Check
What is the issue you are experiencing?
I created a meal plan with breakfast, lunch and dinner recipes selected. When I add the items to the shopping list via the meal planner feature, the items on the shoppinglist are not consolidated. For example, I have several entries for eggs and several entries for salt.
Steps to Reproduce
I'm attaching images that show the workflow.
1.) Fill a day in mealplanner with recipes
2.) Create a shopping list or empty an existing one
3.) Add items from the mealplanner to the shopping list
If I them select and de-select items on the shopping list, they will get summed together. So it looks like this step is skipped when adding items via the mealplanner.
Please provide relevant logs
The log is empty when I perform these actions.
Mealie Version
v1.4.0, f709d11
Also reproducible on the demo platform.
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered: