I should further point out, for those without a full context, ColdFusion throws an error if a custom function has the same name as a Built In Function. This is contrary to the way I think ColdFusion should work, mostly for points like this. But as it stands, this is the hand we are dealt. The MG crew had to make a decision regarding CF9 compatibility. Since the direction of the platform moves forward, we felt we had to also move forward. Maybe we should have considered making a Pre-CF9 release and a Post-CF9 release, but it seemed more trouble than it was worth because it would be a short term fix at any rate.
As I said in the original email announcing the CF9 compatibility released of MG2 and MG3 a month ago, the secretive, NDA laden processes surrounding CF9 (and other prereleased we are a part of) didn't seem to allow for community discussion on the matter. It is kinda like fight club, ya know. We apologize for the inconvenience and would happily take any suggestions from the community on how we should/could handle this. DW On Wed, Aug 5, 2009 at 12:18 PM, Dan Wilson <[email protected]> wrote: > Vlad, > The issue you are experiencing is because the trace() method was removed > out of both MG2 and MG3 a few weeks ago for CF9 compatibility. CF9 took > trace as a Built in Function and as such, we had to change the name of the > method. > > The decision to take trace as a method name was made by the CFML language > committee and was outside of the scope of influence by Model-Glue. > > > DW > > > > > > On Wed, Aug 5, 2009 at 12:13 PM, Vlad <[email protected]> wrote: > >> >> I have not found on the web the proper way to update an app from MG2 >> to the new RC so I have just naively replaced the old ModelGlue folder >> with the new one just to give it a shot. However, I get the following >> exception message having to do with the debug trace after all the >> complicated stuff was executed: >> >> The method trace was not found in component C:\Program Files\Apache >> Software Foundation\Apache2.2\htdocs\ModelGlue\gesture\eventrequest >> \EventContext.cfc. >> >> The offending line of code is in one of my controllers in a function >> invoked by a message-listener: >> >> <cfset arguments.event.trace("A string", "Another String") /> >> >> I created my app a year ago using the MG2 sample application template >> folder. I just don't really have time to redo the app in MG3 right >> now. >> >> Any reply is appreciated. >> >> >> >> >> >> > > > -- > “Come to the edge, he said. They said: We are afraid. Come to the edge, he > said. They came. He pushed them and they flew.” > > Guillaume Apollinaire quotes > -- “Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew.” Guillaume Apollinaire quotes --~--~---------~--~----~------------~-------~--~----~ Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en -~----------~----~----~----~------~----~------~--~---
