- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 606
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
Meal plan re-adds items to shopping list after checking them off #3342
Comments
interesting, I am basically always using meal plan based shopping lists and never had this issue. Can you check the browser console if any errors are shown when you check of the shopping list items? |
That last line "running autosync" pops up once I start checking items off the shopping list. The number (13 at the time of copy/paste) keeps increasing every 10-15 seconds. By the time I typed out this sentence it increased to 15. It seems like maybe this autosync is not working properly, so it's not saving in the db that it's checked off? I'll leave that browser tab open and I'll update here if anything changes in the console |
Yeah autosync failed:
|
Although if I check from other devices, the items did get checked off. So some amount of syncing must be working. I'll update if the items get added back to the shopping list (they usually do) |
interesting, I do not see any immediate error so this will likely be some kind of logical issue. I am sorry but given my time constraints I will have to refer you to the new version once that is out at some point. There I will have to rewrite the sync logic anyway and will put additional effort into avoiding sync conflicts. see #2976 |
so I thought about this a bit more when working on the new shopping list and noticed that the timestamps used to filter the results that are fetched are generated on the client. Is it possible that your server time and client times differ to some degree (even a few seconds might suffice). If so, if you want to help debug this, feel free to sync the clocks on your server and your clients (by just doing an ntp update on both) and see if your issue is resolved. For the new implementation I will need to find a way to be Independent of the client time, I have some ideas for that |
Tandoor Version
1.5.19
Setup
Docker / Docker-Compose
Reverse Proxy
No reverse proxy
Other
No response
Bug description
When adding meal plans to the shopping list, I am no longer able to check off ingredients for more than a few minutes. The next refresh it will just add them back.
Relevant logs
The text was updated successfully, but these errors were encountered: