Anonymous Login
2019-07-21 09:55 PDT

View Revisions: Issue #1660

Summary 0001660: hooks in bulktasks: parent hook is not called
Revision 2015-08-09 03:55 by opto
Description on store, parent_id is never set for top Level Tasks because:

bulktasks::postStore hook does not call parent hook. For all the other hooks, the parent (Tasks) hook is executed because the function is not present in bulktasks. This hook exists, does nothing but in my opinioun should call Tasks::postStore hook.

seeing this:
           if (!$this->importing_tasks) {

 in Tasks postStore hook, it is probably meant to be called, although we don't Need most of what is done in there for importing.

currently, we also don't call all parent postStore hooks

probably the same for delete hook
Revision 2015-08-09 03:41 by opto
Description on store, parent_id is never set for top Level Tasks because:

bulktasks::postStore hook does not call parent hook. For all the other hooks, the parent (Tasks) hook is executed because the function is not present in bulktasks. This hook exists, does nothing but in my opinioun should call Tasks::postStore hook.

probably the same for delete hook
Revision 2015-08-09 03:40 by opto
Description on store, parent_id is never set for top Level Tasks because:

bulktasks::postStore hook does not call parent hook. For all the other hooks, the parent (Tasks) hook is executed because the function is not present in bulktasks. This hook exists, does nothing but in my opinioun should call Tasks::postStore hook.