Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Daniel Vega / Daniel Vega (DanVega)
Created: 03/05/2010
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 272671
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
The problem occurs when you are using event handling. In my application I have an event handerl for pre and post load to write to a log. If you try and load an entity from a remote method call (ajax / flex) then you will get an error stating that the event handler can not be accessed from a remote method
Method:
I have a detailed breakdown of this on my blog along with code that is reproducable. http://www.danvega.org/blog/index.cfm/2010/3/4/Event-Handlers--Remote-Methods
Result:
coldfusion.runtime.TemplateProxy$InvalidRemoteAccessException: The method 'preLoad' in component D:\websites\extranetsteriscom\cfc\com\*****\*****\events\EventHandler.cfc cannot be accessed remotely.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041090
External Customer Info:
External Company:
External Customer Name: Daniel Vega
External Customer Email: 0B25278F44609A949920157F
External Test Config: 03/05/2010
Attachments:
Comments: