Modify

Ticket #13979 (assigned defect)

Opened 19 months ago

Last modified 15 months ago

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

comment:1 Changed 17 months ago by blueriver

  • Status changed from new to assigned

Real

comment:2 Changed 15 months ago by mattlevine

  • Owner blueriver deleted
  • Component changed from v5 to General
View

Add a comment

Modify Ticket

Action
as assigned
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.