tracker issue : CF-3755230

select a category, or use search below
(searches all categories and all time range)
Title:

ORM EventHandler is stating that it must implement interface cfide.orm.IEventHandler when it does

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Giancarlo Gomez / Giancarlo Gomez (Giancarlo Gomez)

Created: 05/05/2014

Components: ORM Support

Versions: 11.0

Failure Type: Crash

Found In Build/Fixed In Build: PublicBeta /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 1

Duplicate ID:	CF-3753750

Problem Description:
ORM EventHandler is stating that it must implement interface cfide.orm.IEventHandler when it does

Steps to Reproduce:
Setup a small app using ORM and define an event handler just like the examples, when it tries to load it will throw this error.

Actual Result:
Breaks.

Expected Result:
FOr it to work.

Any Workarounds:
Do not use eventHandler

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3755230

External Customer Info:
External Company:  
External Customer Name: Giancarlo Gomez
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

  1. May 06, 2014 00:00:00: 1_adobe-fix-this.png

Comments:

OK the issue is based on 2 new functions in the IEventHandler. You need to now include preFlush and postFlush. Did I miss this somewhere on your noites? Did you guys even write this anywhere!!!
Comment by External U.
12310 | May 05, 2014 04:34:27 PM GMT
This information is documented in CF11 release notes : http://helpx.adobe.com/coldfusion/release-note/coldfusion-11-release-notes.html (Comment added from ex-user id:nawani)
Comment by Adobe D.
12311 | December 04, 2014 04:05:46 AM GMT
Okay, this is what you posted in the notes. CF-3753750 - ORM application event handlers that implement the interface CFIDE.orm.IEventHandler will fail with the error "CFC xxxx does not implement the interface CFIDE.orm.IEventHandler". You have to add two new functions preFlush and postFlush to your event handlers. Not very useful. How about putting the methods there and what arguments that they are expecting. You guys are killing our business. Be complete with the information and by the way I added this to the ContentBox EventHandler and it still does not work. It works perfectly fine in CF9,CF10, Railo and Lucee.
Comment by External U.
12312 | May 24, 2015 04:29:53 PM GMT
Kills ColdBox and CB and prevents the application from running.
Vote by External U.
12313 | May 24, 2015 04:32:34 PM GMT