+ Add Question

Bug: Duplicate completed task in history

DB

Sometimes If I complete task I see in history #completed this task twice.
This is not good for "Productivity trend" .

Do you know about this problem?

All responses

David Trey staff
Replied on Feb 11, 2013 - 06:46

Hello Daniel,

Please tell me - is this a recurring task? The productivity trend includes each completion event of a recurring task. Also, if you've had a recurring task, but finished it and then you've decided to move it to the history, then please note that moving a task to history is treated as a completion. Therefore, the last time you complete a task, you should use "Move to history" right away. Otherwise, you can use the "Delete" option which will completely delete this task, but the deletion itself won't be treated as completion.


Best regards,
David

DB
daniel bultas
Replied on Feb 11, 2013 - 11:28

No, this is starting to happen to me with any type of task (in the last days)

David Trey staff
Replied on Feb 11, 2013 - 13:00

Daniel,

Unfortunately, we can't reproduce this issue. If you can recreate it now, please clarify what steps you take when you complete a task. For example - are you using a mobile app? Do you complete it within a project or a certain date view? What exact due date does such task have?


Best regards,
David

DB
daniel bultas
Replied on Feb 11, 2013 - 16:13

I understand you.. I tried to reproduce too and also with no "success" .. I'll watch it and then I'll know.

RD
Roman Duda premium
Replied on Feb 14, 2013 - 06:15

I get this happening roughly every other day at least once. Because it doesn't happen that often, it's hard to replicate the conditions for it!

David Trey staff
Replied on Feb 14, 2013 - 08:07

Roman,

Is there anything specific that you do every time this issue occurs? For example - does it always happen if you use our mobile apps or use Todoist offline or move tasks, postpone them etc.?


Best regards,
David

RD
Roman Duda premium
Replied on Feb 14, 2013 - 08:17

Good question!

I only use todoist in browser (Chrome, Mac OS), and I have broadband internet, so I don't think I'm ever offline really. I *think* it only happens with recurring tasks (most of my recurring tasks are daily), though it might happen with one-off tasks too.

I do use both postpone and do it today quite liberally, so it might also be for those tasks.

Sorry I can't give you more specific details, I'll try to keep an eye out for when it happens!

TH
Tim Hoyland premium
Replied on Feb 25, 2013 - 09:19

I'm seeing the same thing - up to 2 tasks a day show as duplicates in my completed history. They have exactly the same task details and completion time - can you search your side for details like that to aid testing? I assumed this was due to a sync issue when marking complete on my iPhone app, but I'm certain it does this in the browser version too. Not possible to replicate as only happens on 2-5% of the time.

David Trey staff
Replied on Feb 25, 2013 - 09:31

Hello Tim,

Unfortunately, without knowing the exact steps how to trigger an reproduce this issue, we can't identify it's source.

We can check if an error has been logged on our end, but to do so, please tell me - at what exact date and time (incl your timezone) has this task been completed twice and also send the ID of the project in which it happened to david@doist.io (you can find the ID by entering the project through the web-app, it will be a set of numbers in the URL).


Best regards,
David

TH
Tim Hoyland premium
Replied on Feb 28, 2013 - 06:10

Hi David,

A new occurrence just happened when adding a single task to the web browser version (Chrome Win 7 64-bit) and within a few seconds it has added two further duplicate making three in total. Not for a completed task, but a regular new task. I've send details direct on the project ID>Please respond soonest as I'd like to tidy up and move on from reporting bugs.

Thanks,
Tim

David Trey staff
Replied on Feb 28, 2013 - 07:03

Tim,

Thank you for the information and the email. We will look into this issue very soon. In the meantime, please tell me - are you using many plugins in your browser? Incl. ad- or script-blockers, network "improvement" plugins etc.? Also, do you have Todoist opened in multiple tabs?


Best regards,
David

TH
Tim Hoyland premium
Replied on Feb 28, 2013 - 07:09

Thanks David - Todoist is open in only one tab and I'm using one ad-blocker called Gmelius.

David Trey staff
Replied on Feb 28, 2013 - 07:13

Tim,

Just to make sure that this plugin doesn't interfere in any way, please try to add todoist.com on its whiletilst.


Best regards,
David

TH
Tim Hoyland premium
Replied on Feb 28, 2013 - 07:19

Hi David - on checking Gmelius is only for Gmail ads so should not interfere with other sites and there's no white list for me to exempt Todoist.

P
pxm255 premium
Replied on Sep 30, 2013 - 13:41

Experiencing the same issue. Sometimes the tasks I complete appear twice in 'Completed tasks' list. It happens randomly, so pretty difficult to replicate. I have observed it with both recurring and single tasks, in the FF plugin and on the website. It has been happening for a few months, and pretty much everyday I have to check my completed tasks for duplicates. Could you investigate why this is happening and maybe create some sanity checks to weed out tasks with the same name completed at the same time?

David Trey staff
Replied on Sep 30, 2013 - 14:27

Hello Pxm255,

Unfortunately, so far we weren't able to reproduce this issue and without being able to trigger it even once, it may be near-impossible to identify the source of its issue. If there's anything that you notice that's common to each time it happens, please let us know.


Best regards,
David

P
pxm255 premium
Replied on Sep 30, 2013 - 15:46

Hi David,

I understand that the issue may be tricky to reproduce (although it clearly looks like some kind of a racing condition), maybe instead of finding the cause, you could fix the result, e.g.

function add_completed_task(task)
{
...
If ((task_with_such_name_already_completed(task.name) AND
the_completion_date_is_the_same(task.completion_date))
then
return; // equals to dropping the record

// made it here, so adding the record
add_record_to_database(task);
...
}

Please ask your developers if they can make a sanity check like that.

Thanks,
pxm255

David Trey staff
Replied on Sep 30, 2013 - 17:34

Pxm255,

I will pass it to the developers.


Best regards,
David