2017-12-18 02:36 PST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001660v3.4 Release (Cleanup)Taskspublic2016-12-31 01:00
Reporteropto 
Assigned To 
PriorityhighSeveritymajorReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0001660: hooks in bulktasks: parent hook is not called
Descriptionon 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
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0003756

opto (manager)

it seems intentional that CTask::postStore hook is not called, but: should the baseclass hook be called instead of doing nothing?

the Task postStore hook does this as well.
There could be oher Tasks in there that we Need to call, even if we don't want the Actions of the Task postStore
+Notes

-Issue History
Date Modified Username Field Change
2015-08-09 03:40 opto New Issue
2015-08-09 03:41 opto Description Updated View Revisions
2015-08-09 03:55 opto Description Updated View Revisions
2015-08-09 04:02 opto Summary hooks in bulktasks => hooks in bulktasks: parent hook is not called
2015-08-09 07:44 opto Note Added: 0003756
2016-12-26 23:34 caseydk Project v3.3 Release (Current) => v3.4 Release (Cleanup)
2016-12-31 01:00 caseydk Priority normal => high
+Issue History