dwaring87 / rtm-api

Remember the Milk API Interface
MIT License
6 stars 5 forks source link

BUG: Cached List IDs incorrect after moving List #1

Closed dwaring87 closed 6 years ago

dwaring87 commented 6 years ago

The cached List IDs are not updated after a Task is moved to a different List.

Workaround: Clear the cache, user.clearTaskIndexCache(), if a Task is moved to a different List.

Possible Fix: When user.tasks.move() is used, update the cached list id for the task to that of the new List.

dwaring87 commented 6 years ago

Fix: Assign new index when new list_id does not match cached list_id