Ticket #697 (closed enhancement: fixed)

Opened 13 months ago

Last modified 11 months ago

Pass in the current executing action (method) as an argument to the handler interceptors (pre/post handler actions)

Reported by: lmajano Owned by: lmajano
Priority: normal Milestone: 3.0.0
Component: ColdBox Controller Version:
Severity: normal Keywords:
Cc:

Description

Pass in the current executing event to the handler interceptors (pre/post handler actions) as they also need to know what runnable event is being intercepted.

This is due in part that you can have a parent current event and then multiple chained events withing a request life cycle. By adding a second parameter to the interceptor methods. The interceptors can distinguish exceptions between the main event and just runnable events.

Change History

Changed 13 months ago by lmajano

  • type changed from defect to enhancement

Changed 11 months ago by lmajano

  • status changed from new to closed
  • resolution set to fixed

Changed 11 months ago by lmajano

  • summary changed from Pass in the current executing event as an argument to the handler interceptors (pre/post handler actions) to Pass in the current executing action (method) as an argument to the handler interceptors (pre/post handler actions)
Note: See TracTickets for help on using tickets.