Ticket #355 (closed defect: fixed)

Opened 17 years ago

Last modified 16 years ago

Defining handler for predefined event overwrites builtin handler

Reported by: richard.east@… Owned by: cfgrok
Priority: normal Milestone: 3.1 Maintenance Beta
Version: 3.0.178 Severity: normal
Keywords: unity-compatibility Cc:

Description (last modified by cfgrok) (diff)

The ModelGlue.xml reference contains the following under the <event-handler> entry:

If an <event-handler> is added whose NAME attribute is in use by another event-handler, it will overwrite the previous event-handler, except in the case of the predefined modelglue.onRequestStart, modelglue.onQueueComplete, and modelglue.onRequestEnd event-handlers. In this case, any messages, views, or results defined will be added to the predefined event handlers.

In MG3, this is not the case. If an <event-handler> is added called modelglue.onRequestStart, it overwrites the previous event-handler.

Change History

Changed 16 years ago by DanWilson

  • milestone set to 3.1.x-next-patch

Changed 16 years ago by DanWilson

  • owner set to cfgrok

Changed 16 years ago by boomfish

  • keywords unity-compatibility added
  • summary changed from MG2 feature been broken in MG3 to Defining handler for predefined event overwrites builtin handler

Changed 16 years ago by cfgrok

  • status changed from new to assigned

Changed 16 years ago by cfgrok

  • status changed from assigned to closed
  • resolution set to fixed
  • description modified (diff)

Fixed in revision 256

Added capability to define event-handlers as extensible, and set internal modelglue.onRequestStart, modelglue.onQueueComplete and modelglue.onRequestEnd event-handlers to be extensible in order to correct compatibility issue with Model-Glue 2 (Unity)

Note: See TracTickets for help on using tickets.