Ticket #239 (closed defect: fixed)

Opened 19 years ago

Last modified 19 years ago

Element _CURRENTEVENTHANDLER is undefined in VARIABLES.

Reported by: joe.rinehart Owned by: somebody
Priority: highest Milestone: 2.0 Beta 2
Version: 2.0.304 Severity: blocker
Keywords: Cc:

Description

After the changes to event handler queueing/dequeuing for onRequestStart result events, the _currentEventHandler member of EventRequest? isn't set when onRequestStart runs.

This is a bit of a problem to fix - it'd be easy to queue/dequeue the ModelGlue?.* event handlers, but that'd mean ModelGlue?.onRequestStart would be the result of arguments.event.getEventHandlerName(), which'd break most existing uses of it.

To fix it, implement an "initialEventHandler" member of EventRequest? - reflect its name during onRequestStart, and the name of the last event handler run during onQueueComplete and onRequestEnd, making the API work just like the 1.1 API.

Change History

Changed 19 years ago by joe.rinehart

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

(In [260]) Fixes #239

Note: See TracTickets for help on using tickets.