Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)
Created: 12/05/2009
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Problem:
When trying to write a log out inside an event it doesn't write.
Method:
Application.cfcthis.ormsettings = {datasource=this.databaseName, dbcreate="dropcreate", cfclocation="domains", savemapping=false}; this.ormsettings.eventhandling = true;this.ormsettings.evenHandler="eHandler.eventHandler";Index.cfmuser = new domains.user();user.setUsername('Andrews');entitySave(user);eventHandler.cfc/*** Application wide event handler for ORM operations* @output false* @implements cfide.orm.IEventHandler*/component {public void function preInsert( any entity ) { writeLog(type="info", file="SpringField", text="preInsert");}}
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040508
External Customer Info:
External Company:
External Customer Name: Andrew Scott
External Customer Email: 3DEA395D4926D3D0992015B9
External Test Config: 12/05/2009
Attachments:
Comments: