Modify ↓
Ticket #13979 (assigned defect)
onAfterCategoryDelete and similar delete callbacks are not called
| Reported by: | russ@… | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Component: | General |
| Version: | 5.2 | Keywords: | |
| Cc: | Time planned: | 1d | |
| Time remaining: | 1d | Time spent: | 1d |
Description
If you define onAfterCategorySave in the local eventHandler.cfc, it works fine. onAfterCategoryDelete however, doesn't work.
I've traced the issue to categoryManager.cfc line 332. When it crates the pluginEvent, it passes in arguments, but there is no arguments.data as in line 291. What ends up happening is that in event.cfc, on line 52, it checks if there is a value of siteid, but there isn't, so it doesn't run loadSiteRelatedObjects and doesn't attach a local eventHandler to the event.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Real