LiquidPlanner Classic Forum
Task Hook not being fired after reestimates
Posted on behalf of Anderson Arboleya. Original posting date 2014-09-12.
Hi,
I first sync all my workspace tasks with my database though the LP API and save the last time I synced, so next time I'll use it as a filter ('last_updated after ') in order to avoid heavy loads and sync only what have changed since my last sync.
Than, I fall in two scenarios regarding Webhooks:
- When I reestimate some task through editing the task itself, it fires the hooks Estimate and Task,
Note that the Task hook has the change_type='update' but the changes={} object comes empty -- shouldn't it contain the properties high_effort_remaining
and low_effort_remaining
that was just updated?
- When I reestimate some task from inside my timesheet view in "My Work", it fires only the hook Estimate.
This time, the Task hook isn't even fired, which is even worse. So at this point my local task has different estimates than the workspace, and are out of sync.
In an attempt to sync the task again, I then tried also to re-run my sync routine using the API to see if the last_updated
filter would return me the Task with the new estimates, but instead I got nothing - as if the task hasn't changed at all.
How does it sounds?