subtask delete problem

20 views
Skip to first unread message

Brentan Alexander

unread,
Dec 6, 2012, 2:35:45 PM12/6/12
to producteev-...@googlegroups.com
I believe there is a bug in the subtasks/delete method.  Whenever I call this method, I experience some odd behavior, namely:
- my next call to tasks/subtasks for the task returns an empty set (no matter how many other tasks were present...its as if all subtasks were removed)
- producteev web-app will show no subtasks for the task that contained the deleted subtask
- If I refresh data in the mac client,it doesnt delete anything and still shows the deleted task.  Reset Data and relogin then shows no tasks (as web-app).
- If I then add a new subtask to the task (via API, web-app, or mac client), all the old subtasks re-appear (and the originally deleted subtask is not present). 

I cant seem to get the other subtasks to reappear without creating a new subtask.  using subtasks/set_title on another subtask, for example, after the deletion doesnt make them re-appear (although that subtask title does change, as i see the change when i add a new subtask and it reappears).

ALSO- you should update your documentation to document the subtasks/set_status method.  Its pretty important to be able to use the API to set a subtask as completed or not...I guessed that this method existed and it does (and it works!) but there is no mention of it in the methodsDescriptions list.

Brentan Alexander

unread,
Dec 6, 2012, 3:12:27 PM12/6/12
to producteev-...@googlegroups.com

Nevermind on the bug...I dug deeper…was my bad, my cache script was cacheing old responses and messing things up.

subtasks/set_status should still be documented tho.

Reply all
Reply to author
Forward
0 new messages