johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
8.66k stars 753 forks source link

Super Productivity won't sync properly with Dropbox when the date has changed on one device #3160

Closed Tim676o closed 1 month ago

Tim676o commented 2 months ago

Steps to Reproduce

  1. Change the date to a future one on an iOS phone.
  2. Create some simple counters on the website, on the phone.
  3. Reset to the original date
  4. When synced with dropbox, you can see on Windows Super Productivity app and iOS web app an error : "Sync Error: one of the dates provided is from the future..." and then a prompt asking if you want to import the distant data or not.
  5. If you accet to import the data, it takes you back to a setup of super productivity before the change of date on the iOS phone, wether on Windows or iOS, and it continues forever to display the same message if you try to sync, even if you imported the data. It doesn't change anything to restart the app.

Error Log (Desktop only)

Console Output

Capture d'écran 2024-04-20 144558

Meta Info

META: SP8.0.5 Electron – fr – Win32 – Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/8.0.5 Chrome/122.0.6261.156 Electron/29.2.0 Safari/537.36

github-actions[bot] commented 2 months ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 2 months ago

Hello there Tim676o! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

Jagdfalke commented 2 months ago

I'm not sure if I fully understand the issue here. In what scenario would a date change on a device?

johannesjo commented 2 months ago

Not really sure if there is a good way around this. Since there are no servers with Super Productivity, we have to rely on the system time for these things.

Tim676o commented 1 month ago

I'm not sure if I fully understand the issue here. In what scenario would a date change on a device?

I don't remember why I changed the date, maybe to check if something was available on some website if I brought forward the date. But now the bug seems to occur even when I did nothing. It occurs apparently from times to times. Simply relaunching the app solves it. I was afraid to do it because of potential data losses, but it wasn't harmful and sync is now working again.