+ Add Question

android app is undoing my changes

P

Hi,

I'm getting a weird bug in the Android app.

Steps to reproduce (I can reproduce reliably)

1. Create two tasks in inbox with just titles.
2. Edit one of the tasks to add a project, priority and some tags.
3. Edit the other task to update the same fields.
4. Observe that the updates to priority and tags on the first tag have been reverted, but the update to the project is still there.

I'm using the 5.1 version of the app on android 4.4.3.

Hopefully this will enable you to replicate. As I say, it happens reliably. The key seems to be doing both the project and another field at the same time.

All responses

David Trey staff
Replied on Jun 21, 2014 - 07:02

Hello Pete,

Thank you for your report, but unfortunately, I can't trigger this even once :-( It never reverted any of the changes for me.

That said, please try to delete and reinstall the app and see if the issue persists.


Best regards,
David

P
Pete premium
Replied on Jun 25, 2014 - 08:31

Hi David,

Thanks for looking into this. I tried signing out and back in again, and the problem seems to be fixed. I also noticed that one of my devices (that I don't currently use) was signed in, but hadn't synced for a few weeks, so I tried signing out and in on that device. That might have helped.

Whatever it was, it's fixed the problem.

Thanks for taking a look.

Pete

P
Pete premium
Replied on Jul 07, 2014 - 06:23

Unfortunately it's back again. I can reliably reproduce the problem yet again, using the steps above. It only happens when I use the Android client, and only when I update multiple fields on two tasks (of which one of the fields must be the project).

I've checked my other devices, and it appears that one of them hasn't synced for about a week (due to me not using it, and having the wifi turned off), so I think it may be related to that in some way. Would this cause the problem?

It doesn't happen when I attempt to do the same thing on the web however, only the android app.

Thanks,
Pete

P
Pete premium
Replied on Jul 07, 2014 - 06:29

Just confirmed, the problem does seem to be related to the unsynced android client on the other device.

As soon as I allowed it to sync, the problem has gone away and I can no longer replicate it. Perhaps there is a problem when the number of unsynced changes gets too high?

It's strange that it only reverts part of the change, and leaves the project changes alone though.

Pete

David Trey staff
Replied on Jul 07, 2014 - 08:26

Pete,

Technically, there is indeed a limit to how many offline changes we can cache before the queue becomes full and you have to sync. We've never anticipated that it can get full, though as it would involve a lot of changes and primarily adding hundreds of new tasks, though we'll look into expanding it as much as possible.


Best regards,
David

P
Pete premium
Replied on Jul 07, 2014 - 09:13

Hi David,

I'm not sure that the offline changes are what's causing the problem, as my device is on-line when I make the changes, and the fact that the project is getting changed, suggests that the changes are being pushed up to the server.

I'm not anywhere near the limits that you described above, it's more like a few dozen tasks, and they all seem to get pushed to the server fine until the inactive device reaches some kind of threshold of being behind (I can't speculate on whether it would be a date or changes threshold that is being reached.

Nonetheless, it seems that having another device that only syncs periodically is definitely the cause of the problem, so I'm going to remove the Todoist app from it, to save any more problems like the above. I don't use it that much, so it doesn't cause me too much concern.

Regards
Pete

David Trey staff
Replied on Jul 17, 2014 - 12:39

Pete,

This should be fixed now and will be available in the next version of our app.


Best regards,
David